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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002441/0.002441, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.306/3.306, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.713e-06/1.713e-06, allocations: 0 / 0.8776 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.113e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002155/0.002186, allocations: 0.7203 MB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002783/0.004969, allocations: 1.547 MB / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.005042, allocations: 0 / 0.8798 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.005082, allocations: 7.875 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.005271, allocations: 21.19 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/0.005814, allocations: 164.9 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.006017, allocations: 123.6 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.006109, allocations: 11.98 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.006372, allocations: 73.72 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.006476, allocations: 43.88 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.006508, allocations: 12 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002687/0.006777, allocations: 115.8 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.006822, allocations: 34.61 kB / 0.8804 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.006881, allocations: 31.91 kB / 0.8804 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.007316, allocations: 247.2 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.007319, allocations: 0 / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.00732, allocations: 0 / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.007325, allocations: 0 / 0.8806 GB, free: 3.414 MB / 0.8386 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.0008696/0.008195, allocations: 361.6 kB / 0.881 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.008236, allocations: 8.031 kB / 0.881 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.008633, allocations: 36.81 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.008913, allocations: 129.5 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.009046, allocations: 59.97 kB / 0.8812 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.009067, allocations: 4.375 kB / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.009322, allocations: 108.8 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.009332, allocations: 4.188 kB / 0.8813 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.009349, allocations: 4.125 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.009358, allocations: 4 kB / 0.8813 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.009485, allocations: 43.92 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.01028, allocations: 452.7 kB / 0.8818 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005583/0.01084, allocations: 143.7 kB / 0.8819 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.01093, allocations: 38.66 kB / 0.882 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.01096, allocations: 4 kB / 0.882 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.01129, allocations: 109.9 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.01129, allocations: 4 kB / 0.8821 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0004092/0.0117, allocations: 141.5 kB / 0.8822 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.01181, allocations: 114.7 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.01195, allocations: 129.7 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.01199, allocations: 37.83 kB / 0.8825 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.01208, allocations: 92.36 kB / 0.8826 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.01214, allocations: 27.88 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.01224, allocations: 33.7 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.01245, allocations: 322.8 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.01258, allocations: 39.92 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.01267, allocations: 39.16 kB / 0.883 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.01288, allocations: 76.84 kB / 0.8831 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.01289, allocations: 8.172 kB / 0.8831 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003208/0.01321, allocations: 133.5 kB / 0.8832 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.01323, allocations: 12 kB / 0.8832 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.01324, allocations: 4 kB / 0.8832 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.01326, allocations: 0 / 0.8832 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.0134, allocations: 23.98 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01341, allocations: 0 / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.01351, allocations: 11.94 kB / 0.8833 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01353, allocations: 4 kB / 0.8833 GB, free: 464 kB / 0.8386 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 0.0001358/0.01366, allocations: 125.7 kB / 0.8834 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.0137, allocations: 19.94 kB / 0.8834 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.01399, allocations: 110.3 kB / 0.8835 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.014, allocations: 4 kB / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01401, allocations: 0 / 0.8835 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01401, allocations: 3.984 kB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.01422, allocations: 153.2 kB / 0.8837 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.01423, allocations: 4.047 kB / 0.8837 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01433, allocations: 23.94 kB / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01433, allocations: 0 / 0.8837 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01435, allocations: 7.984 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01435, allocations: 0 / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01435, allocations: 4 kB / 0.8837 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.01469, allocations: 185.5 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.01476, allocations: 23.88 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.0148, allocations: 4 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.01488, allocations: 4 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.01495, allocations: 19.97 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.01496, allocations: 4 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.367e-05/0.01506, allocations: 99.27 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 3.828 kB / 0.884 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003575/0.01541, allocations: 71.69 kB / 0.8841 GB, free: 15.53 MB / 0.8542 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.0003757/0.01579, allocations: 178.9 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.01607, allocations: 87.95 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01607, allocations: 0 / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01619, allocations: 55.92 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.01643, allocations: 19.92 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.01704, allocations: 226.6 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01714, allocations: 93.3 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.782e-05/0.01721, allocations: 20.48 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.01728, allocations: 16.5 kB / 0.8848 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01728, allocations: 0 / 0.8848 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.006201/0.02348, allocations: 1.987 MB / 0.8867 GB, free: 12.82 MB / 0.8542 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.40288695297204]