Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.002067/0.002067, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002859/0.002859, allocations: 186.3 kB / 22.22 MB, free: 5.102 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.544/1.544, allocations: 225.6 MB / 251 MB, free: 13.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.061 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9685/0.9706, allocations: 160.8 MB / 1.218 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002147/0.9727, allocations: 0.7246 MB / 1.219 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.9739, allocations: 0.8378 MB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.974, allocations: 1.094 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.974, allocations: 3.938 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.9741, allocations: 12.98 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.9743, allocations: 23.67 kB / 1.22 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.9744, allocations: 44.34 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.9745, allocations: 11.95 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.004e-05/0.9746, allocations: 15.83 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.9746, allocations: 24.92 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.9746, allocations: 4.125 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.9747, allocations: 3.531 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.976e-05/0.9747, allocations: 5.312 kB / 1.22 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.9747, allocations: 27.16 kB / 1.22 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.9748, allocations: 44.97 kB / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.9748, allocations: 0 / 1.22 GB, free: 2.387 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9748, allocations: 4 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.9748, allocations: 0 / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007607/0.9756, allocations: 384.2 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.9756, allocations: 13.75 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.9757, allocations: 3.469 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.9758, allocations: 170.8 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.9759, allocations: 5.531 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.9759, allocations: 2.688 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.9761, allocations: 59.58 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9761, allocations: 192 / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.9761, allocations: 5.031 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9761, allocations: 4.938 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.9763, allocations: 51.81 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.9769, allocations: 295.9 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.9772, allocations: 59.2 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.856e-05/0.9773, allocations: 28.86 kB / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.9773, allocations: 0 / 1.221 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9773, allocations: 39.58 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.9773, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003852/0.9777, allocations: 89.86 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.9778, allocations: 56.62 kB / 1.221 GB, free: 1.148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.9779, allocations: 121 kB / 1.222 GB, free: 1.031 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.9779, allocations: 26.61 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.978, allocations: 90.25 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.978, allocations: 9.016 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.978, allocations: 12.91 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9782, allocations: 329.1 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.243e-05/0.9783, allocations: 19.33 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.9784, allocations: 19.98 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.9785, allocations: 41.81 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9785, allocations: 0 / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002255/0.9787, allocations: 82.67 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.9788, allocations: 5.375 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9788, allocations: 3.938 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.9788, allocations: 1.281 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.9788, allocations: 14.23 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.9788, allocations: 0 / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.979, allocations: 22.5 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.979, allocations: 0 / 1.222 GB, free: 448 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.949e-05/0.9791, allocations: 120.3 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.9791, allocations: 1.406 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.9793, allocations: 83.14 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.9793, allocations: 0 / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9793, allocations: 0 / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9793, allocations: 0.9688 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.9795, allocations: 177.4 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9795, allocations: 4 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.9796, allocations: 10.02 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9796, allocations: 0.9062 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.9796, allocations: 0 / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.344e-05/0.9796, allocations: 4.891 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9796, allocations: 0 / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.9799, allocations: 174.5 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.98, allocations: 86.7 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.98, allocations: 1.312 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9801, allocations: 17.33 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.9802, allocations: 5.953 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.9802, allocations: 0.9375 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.9802, allocations: 99.58 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9802, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002215/0.9805, allocations: 14.06 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001355/0.9806, allocations: 102.9 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.9809, allocations: 46.36 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9809, allocations: 1.156 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.981, allocations: 25.47 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.9813, allocations: 21 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.9817, allocations: 136.8 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.9821, allocations: 0.6801 MB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.9821, allocations: 6.078 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.9821, allocations: 9.688 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.9821, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.003672/0.9858, allocations: 0.8367 MB / 1.225 GB, free: 14.24 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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: 9.260584267787635]