Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001324/0.001324, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001277/0.001277, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 76.03 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3394, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001856/0.3413, allocations: 0.7306 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.343, allocations: 1.532 MB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.343, allocations: 3.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.3431, allocations: 3.938 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3432, allocations: 27.84 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.3436, allocations: 151.5 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3438, allocations: 115.8 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.751e-05/0.3439, allocations: 15.98 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.344, allocations: 59.77 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.3441, allocations: 55.81 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3441, allocations: 15.94 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3443, allocations: 95.92 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.671e-05/0.3443, allocations: 27.91 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.3444, allocations: 43.8 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3447, allocations: 199.5 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3447, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3447, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.3447, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 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.0006267/0.3453, allocations: 424.4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3454, allocations: 12.03 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.3454, allocations: 8.844 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.3455, allocations: 184.2 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.3456, allocations: 30.27 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3456, allocations: 8.375 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3458, allocations: 104.3 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3458, allocations: 3.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3459, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3459, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.346, allocations: 47.97 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3466, allocations: 0.5204 MB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.347, allocations: 135.7 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.3471, allocations: 46.66 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3471, allocations: 8.062 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3473, allocations: 113.9 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.3473, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003147/0.3476, allocations: 141.5 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.3477, allocations: 106.8 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.3478, allocations: 129.8 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3478, allocations: 25.7 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.3479, allocations: 92.33 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.3479, allocations: 35.67 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.348, allocations: 37.7 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.3481, allocations: 318.8 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.3482, allocations: 39.97 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.3483, allocations: 35.98 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3484, allocations: 79.73 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3484, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002383/0.3487, allocations: 133.7 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3487, allocations: 8 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.3487, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3487, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.3489, allocations: 31.84 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3489, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.349, allocations: 11.94 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.349, allocations: 15.91 kB / 1.032 GB, free: 11.85 MB / 0.8106 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 9.839e-05/0.3491, allocations: 121.8 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3491, allocations: 11.91 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3493, allocations: 114 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3494, allocations: 4 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3494, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3494, allocations: 0 / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.3496, allocations: 221.4 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3496, allocations: 0 / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.3497, allocations: 24.23 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3497, allocations: 8 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3497, allocations: 4 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3497, allocations: 4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3497, allocations: 4 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3499, allocations: 174.5 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.35, allocations: 100.9 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3501, allocations: 8 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.3501, allocations: 11.98 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3502, allocations: 15.92 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3502, allocations: 4 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.756e-05/0.3503, allocations: 99.27 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3503, allocations: 0 / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002671/0.3506, allocations: 63.83 kB / 1.033 GB, free: 10.77 MB / 0.8106 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.0002064/0.3508, allocations: 165.5 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.351, allocations: 95.97 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.351, allocations: 0 / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3511, allocations: 55.91 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3513, allocations: 12.08 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.3517, allocations: 229.2 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.352, allocations: 0.708 MB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.3521, allocations: 12.55 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.3521, allocations: 15.44 kB / 1.035 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3521, allocations: 8 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.004228/0.3564, allocations: 1.728 MB / 1.036 GB, free: 7.691 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches