Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.001721/0.001721, allocations: 115.9 kB / 17.08 MB, free: 5.977 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.001903/0.001903, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.503/1.503, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.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.019/3.019, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 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: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.103 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8726, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001763/0.8744, allocations: 0.7408 MB / 1.263 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.8761, allocations: 1.515 MB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.8762, allocations: 0.8125 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.8763, allocations: 5.062 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.8764, allocations: 30.19 kB / 1.265 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.8768, allocations: 149 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.877, allocations: 119.7 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.388e-05/0.8771, allocations: 23.88 kB / 1.265 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.8772, allocations: 42.06 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.8773, allocations: 55.75 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.8774, allocations: 11.06 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.8776, allocations: 104.6 kB / 1.265 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.8776, allocations: 20.72 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.8777, allocations: 44.86 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.878, allocations: 203.8 kB / 1.266 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.878, allocations: 4 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.878, allocations: 0 / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8781, allocations: 0.875 kB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006338/0.8787, allocations: 425.8 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.8787, allocations: 9.5 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.8788, allocations: 9.797 kB / 1.266 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.779e-05/0.8789, allocations: 175.5 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.879, allocations: 39.16 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.879, allocations: 5.656 kB / 1.266 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.8792, allocations: 105.8 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.8792, allocations: 0.8125 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.8792, allocations: 1.406 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8792, allocations: 1.75 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.8794, allocations: 48.88 kB / 1.266 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.8799, allocations: 0.5245 MB / 1.267 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.8804, allocations: 137.5 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.8805, allocations: 42.39 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.8805, allocations: 9.5 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.8808, allocations: 116 kB / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.8808, allocations: 0 / 1.267 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003521/0.8812, allocations: 152.5 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8812, allocations: 110.5 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.813e-05/0.8813, allocations: 128.4 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.8813, allocations: 31.8 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.8814, allocations: 88.19 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.8814, allocations: 39.28 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.8815, allocations: 36.58 kB / 1.268 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.8815, allocations: 324.1 kB / 1.268 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.8817, allocations: 35.05 kB / 1.268 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.8818, allocations: 37.91 kB / 1.268 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.8819, allocations: 78.89 kB / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8819, allocations: 0 / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002505/0.8822, allocations: 133.4 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8822, allocations: 5.531 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8822, allocations: 0.9375 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.8822, allocations: 1 kB / 1.268 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.8824, allocations: 22.8 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.8824, allocations: 0.75 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.8825, allocations: 6.797 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.8825, allocations: 8.984 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.644e-05/0.8826, allocations: 128.9 kB / 1.268 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.8826, allocations: 8.469 kB / 1.268 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.8829, allocations: 120.5 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8829, allocations: 3.547 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8829, allocations: 0.8438 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8829, allocations: 5.484 kB / 1.269 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.8831, allocations: 217.3 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8831, allocations: 1.828 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.8832, allocations: 18.12 kB / 1.269 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8832, allocations: 4.719 kB / 1.269 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.8832, allocations: 3.594 kB / 1.269 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8832, allocations: 6.422 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.8832, allocations: 0.8125 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.8835, allocations: 187.2 kB / 1.269 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.8835, allocations: 96.89 kB / 1.269 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.8836, allocations: 6.125 kB / 1.269 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.8837, allocations: 6.156 kB / 1.269 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.8837, allocations: 18.42 kB / 1.269 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.8837, allocations: 5.25 kB / 1.269 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.8838, allocations: 102.4 kB / 1.269 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8838, allocations: 4.844 kB / 1.269 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003192/0.8841, allocations: 61.62 kB / 1.269 GB, free: 2.812 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000216/0.8843, allocations: 156.5 kB / 1.269 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.8846, allocations: 96.53 kB / 1.27 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8846, allocations: 0.625 kB / 1.27 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.8847, allocations: 52.12 kB / 1.27 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.8849, allocations: 10.97 kB / 1.27 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.8854, allocations: 276.7 kB / 1.27 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.8855, allocations: 0.6991 MB / 1.271 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.8856, allocations: 21.17 kB / 1.271 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.8856, allocations: 0 / 1.271 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of Templates: time 0.004022/0.8896, allocations: 1.827 MB / 1.272 GB, free: 1.516 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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: 11.469155982136726]