Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002358/0.002358, allocations: 198.2 kB / 16.14 MB, free: 6.746 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.2 MB / 0.6642 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.91 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9461, allocations: 140.4 MB / 0.9489 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002118/0.9483, allocations: 0.7801 MB / 0.9497 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.9502, allocations: 1.536 MB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.9502, allocations: 4 kB / 0.9512 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.9503, allocations: 5.219 kB / 0.9512 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.9505, allocations: 18.47 kB / 0.9512 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.9509, allocations: 131.3 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.9511, allocations: 109.8 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.9512, allocations: 17.16 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.9513, allocations: 52.27 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.9515, allocations: 42.55 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.9515, allocations: 5.688 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.9517, allocations: 76.5 kB / 0.9516 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.9517, allocations: 11.77 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.9518, allocations: 45.06 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.9521, allocations: 187.1 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.9521, allocations: 1.281 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.136e-06/0.9521, allocations: 4 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9521, allocations: 3.938 kB / 0.9519 GB, free: 6.805 MB / 0.7169 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.0007562/0.9529, allocations: 426.5 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.953, allocations: 9.312 kB / 0.9523 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.953, allocations: 13.44 kB / 0.9523 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9532, allocations: 173.6 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.9532, allocations: 38.62 kB / 0.9525 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.9533, allocations: 10.16 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.9535, allocations: 95.3 kB / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9535, allocations: 0 / 0.9526 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.9535, allocations: 5.406 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.9536, allocations: 5.672 kB / 0.9526 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.9537, allocations: 45.69 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006242/0.9543, allocations: 0.5226 MB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.9548, allocations: 137.4 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.9549, allocations: 51.22 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.9549, allocations: 1.344 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.9552, allocations: 119.6 kB / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.9552, allocations: 0 / 0.9535 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003482/0.9555, allocations: 137.6 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.9556, allocations: 105.1 kB / 0.9537 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.967e-05/0.9557, allocations: 138.1 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.9557, allocations: 32.08 kB / 0.9539 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.9558, allocations: 90.97 kB / 0.9539 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.9558, allocations: 31.16 kB / 0.954 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.9558, allocations: 33.42 kB / 0.954 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.772e-05/0.9559, allocations: 328.5 kB / 0.9543 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.956, allocations: 38.92 kB / 0.9544 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.9561, allocations: 34.8 kB / 0.9544 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.9563, allocations: 79.59 kB / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9563, allocations: 0 / 0.9545 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002393/0.9565, allocations: 134.9 kB / 0.9546 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9565, allocations: 4.875 kB / 0.9546 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.9566, allocations: 0 / 0.9546 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9566, allocations: 1.188 kB / 0.9546 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.9567, allocations: 23.33 kB / 0.9546 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.9567, allocations: 0 / 0.9546 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.9568, allocations: 16.67 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.9568, allocations: 12.12 kB / 0.9546 GB, free: 4.168 MB / 0.7169 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 8.466e-05/0.9569, allocations: 120.1 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.9569, allocations: 11.92 kB / 0.9548 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.9572, allocations: 109.6 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9572, allocations: 2.844 kB / 0.9549 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9572, allocations: 5.125 kB / 0.9549 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.9572, allocations: 4.859 kB / 0.9549 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.9574, allocations: 225.8 kB / 0.9551 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.9574, allocations: 1.375 kB / 0.9551 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.9575, allocations: 18.66 kB / 0.9551 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9575, allocations: 1.125 kB / 0.9551 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9575, allocations: 6.688 kB / 0.9551 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.9575, allocations: 5.203 kB / 0.9551 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9575, allocations: 8.938 kB / 0.9551 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.9578, allocations: 176.4 kB / 0.9553 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.9578, allocations: 102.6 kB / 0.9554 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.9579, allocations: 2.812 kB / 0.9554 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-05/0.958, allocations: 8.344 kB / 0.9554 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.958, allocations: 13.23 kB / 0.9554 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.958, allocations: 12.42 kB / 0.9554 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.9581, allocations: 99.27 kB / 0.9555 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9581, allocations: 0 / 0.9555 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003168/0.9584, allocations: 55.88 kB / 0.9556 GB, free: 3.316 MB / 0.7169 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.0002264/0.9587, allocations: 148.4 kB / 0.9557 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.9589, allocations: 103.2 kB / 0.9558 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9589, allocations: 0 / 0.9558 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.959, allocations: 50.98 kB / 0.9559 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.9593, allocations: 19.22 kB / 0.9559 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.9598, allocations: 267.5 kB / 0.9562 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9599, allocations: 0.708 MB / 0.9568 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.513e-05/0.96, allocations: 15.66 kB / 0.9569 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.9601, allocations: 19.64 kB / 0.9569 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.9601, allocations: 4 kB / 0.9569 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of Templates: time 0.004603/0.9647, allocations: 1.647 MB / 0.9585 GB, free: 1.32 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches