Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 106.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002072, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.205/3.205, allocations: 489 MB / 0.7678 GB, free: 0 / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.002171, allocations: 67.91 kB / 1.101 GB, free: 5.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.8648, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001862/0.8667, allocations: 0.6733 MB / 1.262 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.8677, allocations: 0.8185 MB / 1.263 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.8678, allocations: 0 / 1.263 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.8678, allocations: 0 / 1.263 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.8679, allocations: 3.938 kB / 1.263 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.868, allocations: 8 kB / 1.263 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.8681, allocations: 23.91 kB / 1.263 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.8682, allocations: 15.98 kB / 1.263 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.8683, allocations: 11.94 kB / 1.263 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.8683, allocations: 7.984 kB / 1.263 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.8683, allocations: 0 / 1.263 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.8683, allocations: 4 kB / 1.263 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.8684, allocations: 4 kB / 1.263 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.8684, allocations: 7.938 kB / 1.263 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.715e-05/0.8685, allocations: 27.89 kB / 1.263 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8685, allocations: 0 / 1.263 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8685, allocations: 0 / 1.263 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.8685, allocations: 0 / 1.263 GB, free: 5.488 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000508/0.869, allocations: 338.3 kB / 1.263 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8691, allocations: 8.031 kB / 1.263 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.8691, allocations: 38.73 kB / 1.263 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.8691, allocations: 0.9375 kB / 1.263 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.8693, allocations: 172.2 kB / 1.263 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.8693, allocations: 4.375 kB / 1.263 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.8693, allocations: 384 / 1.263 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.8695, allocations: 50.23 kB / 1.263 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.8695, allocations: 7.938 kB / 1.263 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.8695, allocations: 3.984 kB / 1.263 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.8696, allocations: 0 / 1.263 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.8697, allocations: 35.95 kB / 1.263 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.8701, allocations: 245 kB / 1.264 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.8702, allocations: 46.44 kB / 1.264 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.8703, allocations: 24.89 kB / 1.264 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.8704, allocations: 0 / 1.264 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.8704, allocations: 42.44 kB / 1.264 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.8704, allocations: 0 / 1.264 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.8708, allocations: 85.58 kB / 1.264 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.8708, allocations: 55.41 kB / 1.264 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.8709, allocations: 93.86 kB / 1.264 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.8709, allocations: 29.7 kB / 1.264 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.871, allocations: 80.14 kB / 1.264 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.871, allocations: 7.938 kB / 1.264 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.871, allocations: 13.72 kB / 1.264 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8712, allocations: 319 kB / 1.264 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.8713, allocations: 15.98 kB / 1.264 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.8714, allocations: 19.97 kB / 1.264 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8715, allocations: 36.83 kB / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.8715, allocations: 3.938 kB / 1.264 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002137/0.8718, allocations: 73.61 kB / 1.264 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8718, allocations: 8 kB / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.8718, allocations: 0 / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.8718, allocations: 0 / 1.264 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.8719, allocations: 7.984 kB / 1.264 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8719, allocations: 0 / 1.264 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.872, allocations: 8 kB / 1.264 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.872, allocations: 4 kB / 1.264 GB, free: 3.414 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.04e-05/0.8721, allocations: 117.8 kB / 1.265 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.8721, allocations: 0 / 1.265 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.8723, allocations: 72.77 kB / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8723, allocations: 0 / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.8723, allocations: 3.938 kB / 1.265 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.8724, allocations: 0 / 1.265 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.8725, allocations: 157.6 kB / 1.265 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8725, allocations: 4.031 kB / 1.265 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.126e-05/0.8726, allocations: 11.98 kB / 1.265 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8726, allocations: 0 / 1.265 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.8726, allocations: 4 kB / 1.265 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8726, allocations: 0 / 1.265 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8726, allocations: 0 / 1.265 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8729, allocations: 163.5 kB / 1.265 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.873, allocations: 85 kB / 1.265 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.873, allocations: 4 kB / 1.265 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.8731, allocations: 7.984 kB / 1.265 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.8731, allocations: 4 kB / 1.265 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.8731, allocations: 0 / 1.265 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.8732, allocations: 83.27 kB / 1.265 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.426e-06/0.8732, allocations: 3.938 kB / 1.265 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002113/0.8734, allocations: 7.938 kB / 1.265 GB, free: 2.598 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005997/0.874, allocations: 0.6929 MB / 1.266 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.8742, allocations: 43.98 kB / 1.266 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8742, allocations: 0 / 1.266 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.858e-05/0.8743, allocations: 23.92 kB / 1.266 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.8746, allocations: 3.594 kB / 1.266 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.875, allocations: 139.6 kB / 1.266 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.8753, allocations: 0.6771 MB / 1.267 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.8754, allocations: 4.125 kB / 1.267 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.8754, allocations: 15.44 kB / 1.267 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.8754, allocations: 0 / 1.267 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.8974, allocations: 1.269 MB / 1.268 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/9.036, allocations: 8 kB / 1.268 GB, free: 15.72 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.344893683912233]