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.001082/0.001083, allocations: 108 kB / 15.61 MB, free: 148 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.001039/0.001039, allocations: 196.9 kB / 16.53 MB, free: 6.656 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.481/1.481, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.789/2.789, allocations: 437 MB / 0.7103 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8464/0.8477, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002309/0.8501, allocations: 0.721 MB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.8523, allocations: 1.528 MB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.8524, allocations: 7.938 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.8525, allocations: 11.81 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.8527, allocations: 19.84 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.8533, allocations: 155.5 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.8535, allocations: 115.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.8536, allocations: 19.98 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.8538, allocations: 55.83 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.8539, allocations: 55.75 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.8539, allocations: 12 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.8541, allocations: 79.95 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.8542, allocations: 23.92 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.8543, allocations: 51.77 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.8546, allocations: 189.5 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8546, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8546, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.8546, allocations: 4 kB / 1.02 GB, free: 15.44 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.0007642/0.8554, allocations: 427 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8554, allocations: 8.031 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.969e-05/0.8555, allocations: 8.844 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8556, allocations: 172.2 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.8557, allocations: 46.25 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.8558, allocations: 8.359 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.8559, allocations: 108.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.856, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.856, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.856, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.8561, allocations: 55.89 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.8568, allocations: 0.5204 MB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.8573, allocations: 135.7 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.8574, allocations: 42.61 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.8574, allocations: 3.984 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.8577, allocations: 117.9 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.8577, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003276/0.858, allocations: 145.4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.8581, allocations: 102.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8582, allocations: 137.7 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.8582, allocations: 29.83 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.8583, allocations: 100.4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.8583, allocations: 23.66 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.8584, allocations: 37.7 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8585, allocations: 322.8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.8586, allocations: 35.98 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.8587, allocations: 35.92 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.8589, allocations: 82.47 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8589, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002661/0.8592, allocations: 131.5 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8592, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.8592, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.8593, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.8594, allocations: 24.23 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.8594, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.8595, allocations: 15.89 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.8596, allocations: 7.938 kB / 1.023 GB, free: 12.3 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.0001099/0.8597, allocations: 139.5 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.8597, allocations: 7.906 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.86, allocations: 122.1 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.86, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.86, allocations: 4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.86, allocations: 4 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.8602, allocations: 221.4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.8602, allocations: 3.984 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.8603, allocations: 16 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.8603, allocations: 0 / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.8604, allocations: 4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.8604, allocations: 7.922 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8604, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.8606, allocations: 178.6 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.8607, allocations: 96.98 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.8608, allocations: 8 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.8609, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.8609, allocations: 19.92 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.861, allocations: 7.984 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.212e-05/0.861, allocations: 100.4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.014e-06/0.861, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003019/0.8614, allocations: 55.88 kB / 1.024 GB, free: 11.21 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.0003039/0.8617, allocations: 155.1 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.8619, allocations: 105.4 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.862, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.8621, allocations: 51.92 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.8623, allocations: 17.36 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.8629, allocations: 229.5 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.8632, allocations: 0.708 MB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.8633, allocations: 20.5 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.8633, allocations: 19.42 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of SimCode: time 2.124e-06/0.8633, allocations: 0 / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.004799/0.8681, allocations: 1.729 MB / 1.027 GB, free: 8.129 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=480 -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