Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001123/0.001123, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008971/0.008971, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.608/1.608, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.047/3.047, allocations: 470.6 MB / 0.7442 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005227, allocations: 9.781 kB / 0.9123 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4107, allocations: 161.4 MB / 1.07 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001212/0.412, allocations: 455.3 kB / 1.07 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002625/0.4147, allocations: 1.533 MB / 1.072 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.4147, allocations: 0 / 1.072 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.4148, allocations: 3.938 kB / 1.072 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.415, allocations: 11.92 kB / 1.072 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.4154, allocations: 131.7 kB / 1.072 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.4156, allocations: 107.7 kB / 1.072 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4157, allocations: 23.98 kB / 1.072 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4159, allocations: 35.86 kB / 1.072 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.416, allocations: 51.75 kB / 1.072 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.416, allocations: 4 kB / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.4162, allocations: 71.94 kB / 1.072 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.4163, allocations: 19.92 kB / 1.072 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.4164, allocations: 65.48 kB / 1.072 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.4167, allocations: 191.7 kB / 1.072 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4167, allocations: 4 kB / 1.073 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4167, allocations: 0 / 1.073 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4167, allocations: 0 / 1.073 GB, free: 8.73 MB / 0.8262 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.0007905/0.4175, allocations: 403.2 kB / 1.073 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.4176, allocations: 15.97 kB / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.4176, allocations: 12.84 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.4178, allocations: 176.2 kB / 1.073 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.4179, allocations: 38.19 kB / 1.073 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.418, allocations: 8.375 kB / 1.073 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.4182, allocations: 101.2 kB / 1.073 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4182, allocations: 0 / 1.073 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4182, allocations: 4 kB / 1.073 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4182, allocations: 4 kB / 1.073 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.4183, allocations: 51.91 kB / 1.073 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/0.4191, allocations: 0.5244 MB / 1.074 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.4196, allocations: 139.7 kB / 1.074 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.4197, allocations: 54.59 kB / 1.074 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4197, allocations: 0 / 1.074 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.42, allocations: 109.8 kB / 1.074 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.42, allocations: 3.938 kB / 1.074 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.0003733/0.4204, allocations: 145.7 kB / 1.074 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.4205, allocations: 102.8 kB / 1.074 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.4206, allocations: 129.8 kB / 1.074 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.4206, allocations: 29.7 kB / 1.074 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.4207, allocations: 92.41 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.4207, allocations: 27.56 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.4208, allocations: 25.7 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.421, allocations: 318.9 kB / 1.075 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4211, allocations: 43.97 kB / 1.075 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.856e-05/0.4212, allocations: 35.98 kB / 1.075 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.4214, allocations: 79.03 kB / 1.075 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4214, allocations: 0 / 1.075 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002523/0.4216, allocations: 129.5 kB / 1.075 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4217, allocations: 7.984 kB / 1.075 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4217, allocations: 64 / 1.075 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4217, allocations: 4 kB / 1.075 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4218, allocations: 19.98 kB / 1.075 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4218, allocations: 11.88 kB / 1.075 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.4219, allocations: 15.84 kB / 1.075 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.422, allocations: 15.92 kB / 1.075 GB, free: 5.602 MB / 0.8262 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.0001415/0.4221, allocations: 113.8 kB / 1.075 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.4221, allocations: 7.906 kB / 1.075 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.4224, allocations: 118 kB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4224, allocations: 4 kB / 1.075 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4224, allocations: 0 / 1.075 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4225, allocations: 3.938 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4227, allocations: 221.4 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4227, allocations: 4 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.565e-05/0.4228, allocations: 15.98 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4228, allocations: 7.938 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4229, allocations: 8.234 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4229, allocations: 4 kB / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4229, allocations: 0 / 1.076 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.4232, allocations: 176.4 kB / 1.076 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4233, allocations: 100.9 kB / 1.076 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.4234, allocations: 8 kB / 1.076 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.4235, allocations: 15.98 kB / 1.076 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4236, allocations: 19.86 kB / 1.076 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.4236, allocations: 4 kB / 1.076 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.923e-05/0.4237, allocations: 99.77 kB / 1.076 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4237, allocations: 0 / 1.076 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003416/0.424, allocations: 55.92 kB / 1.076 GB, free: 4.527 MB / 0.8262 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.0004024/0.4244, allocations: 156.5 kB / 1.076 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4247, allocations: 95.91 kB / 1.076 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4248, allocations: 4 kB / 1.076 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4249, allocations: 48.11 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.4251, allocations: 18.09 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.4258, allocations: 275.2 kB / 1.077 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.4263, allocations: 0.7043 MB / 1.077 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.918e-05/0.4264, allocations: 16.55 kB / 1.077 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.4265, allocations: 19.44 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of SimCode: time 9.32e-07/0.4265, allocations: 0 / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.006048/0.4325, allocations: 1.62 MB / 1.079 GB, free: 1.527 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches