Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 194.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7104 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001966, allocations: 67.89 kB / 0.8692 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.8677, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002432/0.8702, allocations: 0.7253 MB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.8724, allocations: 1.525 MB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.8725, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.8725, allocations: 7.875 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.8727, allocations: 19.84 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.8732, allocations: 155.5 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.8734, allocations: 119.8 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.8736, allocations: 27.94 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.8737, allocations: 43.75 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.8738, allocations: 55.81 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.8739, allocations: 15.94 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.8741, allocations: 79.94 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.8741, allocations: 31.91 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.8742, allocations: 47.8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.8745, allocations: 189.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8745, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.837e-06/0.8745, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8746, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 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.0008381/0.8754, allocations: 427.1 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.8754, allocations: 11.97 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.8755, allocations: 12.83 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.8757, allocations: 176.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.8758, allocations: 34.27 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.8758, allocations: 8.375 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.876, allocations: 108.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.8761, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.8761, allocations: 8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8761, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.8762, allocations: 47.91 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.877, allocations: 0.5126 MB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.8776, allocations: 135.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9e-05/0.8777, allocations: 54.59 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.8777, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.878, allocations: 113.9 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.878, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003925/0.8784, allocations: 153.4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8786, allocations: 102.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.8787, allocations: 133.7 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.8787, allocations: 33.7 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.8788, allocations: 88.33 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.8789, allocations: 31.64 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.945e-05/0.8789, allocations: 29.7 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.8791, allocations: 330.9 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.8792, allocations: 31.98 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.8793, allocations: 35.98 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.8795, allocations: 74.67 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8795, allocations: 7.938 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002694/0.8798, allocations: 129.7 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.8798, allocations: 8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8798, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8799, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.88, allocations: 27.97 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.88, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.8801, allocations: 11.91 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.8801, allocations: 11.92 kB / 1.023 GB, free: 12.26 MB / 0.7794 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.000124/0.8802, allocations: 127.6 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.8803, allocations: 8.156 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.8805, allocations: 129.8 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8805, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8806, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8806, allocations: 4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.8808, allocations: 225.4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8808, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.8809, allocations: 19.98 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8809, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.8809, allocations: 8 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8809, allocations: 4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8809, allocations: 3.938 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.8812, allocations: 179.7 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.8813, allocations: 93 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.8813, allocations: 7.984 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.8814, allocations: 8 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.8815, allocations: 19.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.8815, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.999e-05/0.8816, allocations: 99.27 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8816, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002751/0.8819, allocations: 55.92 kB / 1.024 GB, free: 11.18 MB / 0.7794 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.0002639/0.8821, allocations: 163 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.8824, allocations: 103.9 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8825, allocations: 4 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8826, allocations: 47.92 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.8828, allocations: 12.14 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.8833, allocations: 229.9 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.8836, allocations: 0.7002 MB / 1.025 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.256e-05/0.8837, allocations: 16.55 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.8837, allocations: 19.44 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8837, allocations: 0 / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.005134/0.8889, allocations: 1.728 MB / 1.027 GB, free: 8.113 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches