Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00545/0.00545, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001275/0.001275, allocations: 192.4 kB / 16.79 MB, free: 5.809 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.443/1.443, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.3 MB / 0.6649 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7424, allocations: 140.3 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001837/0.7442, allocations: 0.7917 MB / 0.9503 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7458, allocations: 1.539 MB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.7458, allocations: 1.375 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.7459, allocations: 3.938 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.7461, allocations: 18.59 kB / 0.9519 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.7463, allocations: 135.4 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.7465, allocations: 102.5 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.7466, allocations: 20.23 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.7467, allocations: 44.41 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.7468, allocations: 43.05 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.7468, allocations: 9.016 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.747, allocations: 73.05 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.747, allocations: 27.66 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.7471, allocations: 40.59 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.7473, allocations: 142.8 kB / 0.9525 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7473, allocations: 3.938 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.12e-07/0.7473, allocations: 1.469 kB / 0.9525 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.7473, allocations: 0 / 0.9525 GB, free: 6.98 MB / 0.7169 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.0005978/0.7479, allocations: 430 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.7479, allocations: 10.66 kB / 0.9529 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.748, allocations: 9.125 kB / 0.9529 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.688e-05/0.7481, allocations: 172.4 kB / 0.9531 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.7481, allocations: 43.09 kB / 0.9531 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.7482, allocations: 9 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.7483, allocations: 107 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7484, allocations: 1.156 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7484, allocations: 11.98 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.7484, allocations: 1.938 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.964e-05/0.7485, allocations: 42.83 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.749, allocations: 0.5187 MB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.7494, allocations: 129.9 kB / 0.9539 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.7495, allocations: 49.06 kB / 0.954 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.7495, allocations: 10.48 kB / 0.954 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.7497, allocations: 117.9 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.7498, allocations: 1.312 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003082/0.7501, allocations: 142.2 kB / 0.9542 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7501, allocations: 116.2 kB / 0.9543 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.7502, allocations: 127.5 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.7502, allocations: 31.02 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.7503, allocations: 90.53 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.7503, allocations: 28.5 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.7503, allocations: 36.55 kB / 0.9546 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.637e-05/0.7504, allocations: 329.2 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.931e-05/0.7505, allocations: 34.2 kB / 0.955 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/0.7506, allocations: 34.45 kB / 0.955 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.7508, allocations: 79.38 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7508, allocations: 1.375 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002169/0.751, allocations: 127.7 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.751, allocations: 6.062 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.751, allocations: 0 / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.751, allocations: 1.281 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.7512, allocations: 26.42 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7512, allocations: 1.25 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.7513, allocations: 11.7 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.7513, allocations: 7.375 kB / 0.9553 GB, free: 4.344 MB / 0.7169 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 6.816e-05/0.7514, allocations: 125.9 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.7514, allocations: 16.27 kB / 0.9554 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.7516, allocations: 114.2 kB / 0.9555 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.7516, allocations: 2.812 kB / 0.9555 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7516, allocations: 0 / 0.9555 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7516, allocations: 5.328 kB / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.7518, allocations: 225.4 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.7518, allocations: 1.094 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.7519, allocations: 15.06 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7519, allocations: 2.031 kB / 0.9557 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.7519, allocations: 17.8 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.7519, allocations: 0.9688 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7519, allocations: 1 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.7522, allocations: 178.4 kB / 0.9559 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.7522, allocations: 99.81 kB / 0.956 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7522, allocations: 6.125 kB / 0.956 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/0.7523, allocations: 7.406 kB / 0.956 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.7524, allocations: 26.39 kB / 0.9561 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.7524, allocations: 4.656 kB / 0.9561 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.7525, allocations: 98.2 kB / 0.9562 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7525, allocations: 1.062 kB / 0.9562 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002901/0.7528, allocations: 55.47 kB / 0.9562 GB, free: 3.484 MB / 0.7169 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.0002035/0.753, allocations: 155.5 kB / 0.9564 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.7532, allocations: 99.55 kB / 0.9565 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7532, allocations: 0 / 0.9565 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.7533, allocations: 54.7 kB / 0.9565 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.7535, allocations: 18.45 kB / 0.9565 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.7539, allocations: 290.6 kB / 0.9568 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.7541, allocations: 0.6998 MB / 0.9575 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.7541, allocations: 15.59 kB / 0.9575 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7541, allocations: 0 / 0.9575 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.00308/0.7572, allocations: 1.804 MB / 0.9593 GB, free: 1.383 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches