Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001487/0.001487, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.00183/0.00183, allocations: 211.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.621/1.621, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 69.66 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002108/0.419, allocations: 0.707 MB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.4214, allocations: 1.544 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.4215, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.4215, allocations: 7.875 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.4217, allocations: 23.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4222, allocations: 164.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.4224, allocations: 123.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4225, allocations: 8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.4227, allocations: 47.91 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.4228, allocations: 55.81 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.4228, allocations: 16 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.423, allocations: 119.9 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.4231, allocations: 31.89 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.036e-05/0.4231, allocations: 35.86 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.4235, allocations: 231.1 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.4235, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4235, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4235, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 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.0007193/0.4242, allocations: 357.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4242, allocations: 12.02 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003314/0.4246, allocations: 24.88 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.4247, allocations: 122.4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.296e-05/0.4248, allocations: 59.97 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.4248, allocations: 12.36 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.425, allocations: 100.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.425, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4251, allocations: 12 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.4251, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4252, allocations: 43.91 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.4258, allocations: 452.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.4264, allocations: 131.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.48e-05/0.4264, allocations: 42.66 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4265, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.4267, allocations: 121.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.4267, allocations: 0 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003469/0.4271, allocations: 149.5 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.4271, allocations: 102.8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4272, allocations: 121.8 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.4273, allocations: 33.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.4273, allocations: 92.5 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.4274, allocations: 35.73 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.4274, allocations: 37.7 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4276, allocations: 322.8 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.455e-05/0.4277, allocations: 35.98 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.4278, allocations: 35.98 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.428, allocations: 78.89 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.428, allocations: 0 / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002831/0.4282, allocations: 129.5 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4283, allocations: 7.938 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4283, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4283, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.4284, allocations: 23.98 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4284, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.186e-05/0.4285, allocations: 15.88 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4285, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 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.0001249/0.4286, allocations: 132.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.4287, allocations: 8.141 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.4289, allocations: 121.9 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4289, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4289, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4289, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4291, allocations: 153.2 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4291, allocations: 4 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4292, allocations: 15.98 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4292, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4292, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4292, allocations: 4.312 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4292, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.4295, allocations: 185 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.4296, allocations: 27.88 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.4296, allocations: 3.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.4297, allocations: 8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.4298, allocations: 11.98 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4298, allocations: 11.98 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.4299, allocations: 98.27 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 3.938 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003/0.4302, allocations: 67.75 kB / 1.334 GB, free: 10.02 MB / 1.029 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.0002761/0.4304, allocations: 194.7 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.4307, allocations: 91.89 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4307, allocations: 0 / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.4308, allocations: 47.92 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.431, allocations: 8 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.4315, allocations: 233.5 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.4316, allocations: 85.33 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.697e-05/0.4317, allocations: 20.47 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.4317, allocations: 19.44 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4317, allocations: 0 / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of Templates: time 0.00532/0.4371, allocations: 2.052 MB / 1.336 GB, free: 7.227 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.494773871992948]