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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.000949/0.0009492, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.000986/0.000986, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.7 MB / 0.7117 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004206, allocations: 15.92 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8428, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001078/0.8439, allocations: 448.1 kB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.8462, allocations: 1.471 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.532e-05/0.8463, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.8463, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.8465, allocations: 19.84 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.847, allocations: 123.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.8472, allocations: 103.7 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.8473, allocations: 19.97 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.8474, allocations: 39.84 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.8475, allocations: 43.83 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.8476, allocations: 7.984 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.8478, allocations: 63.95 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.8478, allocations: 19.92 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.8479, allocations: 33.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.8481, allocations: 157.6 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8481, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8481, allocations: 0 / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8481, allocations: 0 / 1.025 GB, free: 13.47 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.0007202/0.8489, allocations: 403 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.8489, allocations: 16.03 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.849, allocations: 11.84 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.8492, allocations: 174.9 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.8493, allocations: 33.7 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.8493, allocations: 15.89 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.8495, allocations: 104.2 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8495, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.8495, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.8496, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.8497, allocations: 43.97 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.8504, allocations: 0.5244 MB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.8508, allocations: 135.7 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.8509, allocations: 46.66 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.851, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.8512, allocations: 113.9 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.8512, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003157/0.8515, allocations: 145.5 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.8516, allocations: 106.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.8517, allocations: 133.7 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.8517, allocations: 29.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.8518, allocations: 88.41 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.8518, allocations: 35.59 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.8519, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.852, allocations: 322.9 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.8521, allocations: 43.91 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.8522, allocations: 33.39 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.8523, allocations: 36 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.8523, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000227/0.8525, allocations: 128.4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8525, allocations: 4 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.8525, allocations: 7.875 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.8526, allocations: 0 / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.8527, allocations: 23.98 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.8528, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.8528, allocations: 15.89 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.8529, allocations: 4 kB / 1.028 GB, free: 10.43 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 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.853, allocations: 125.8 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.853, allocations: 7.906 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.8533, allocations: 121.9 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8533, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8533, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8533, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.8535, allocations: 221.8 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8535, allocations: 7.875 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.482e-05/0.8536, allocations: 23.98 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8536, allocations: 4.234 kB / 1.028 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.8536, allocations: 4 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8537, allocations: 0 / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8537, allocations: 4 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.8539, allocations: 182.5 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.854, allocations: 96.91 kB / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.854, allocations: 11.98 kB / 1.028 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.8541, allocations: 12 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.8542, allocations: 11.98 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.8542, allocations: 4 kB / 1.028 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.925e-05/0.8543, allocations: 101 kB / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8543, allocations: 0 / 1.028 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003018/0.8546, allocations: 59.92 kB / 1.029 GB, free: 9.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002523/0.8549, allocations: 155.1 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.8551, allocations: 99.89 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8551, allocations: 0 / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.8552, allocations: 51.92 kB / 1.029 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.8554, allocations: 16.39 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.8559, allocations: 271.1 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.8562, allocations: 0.6965 MB / 1.03 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.8563, allocations: 17.67 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.8563, allocations: 19.42 kB / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8563, allocations: 0 / 1.03 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of Templates: time 0.004772/0.8611, allocations: 1.596 MB / 1.031 GB, free: 6.371 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