Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.047/2.047, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.537e-05, allocations: 9.344 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001722/0.001747, allocations: 0.7699 MB / 0.7608 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.003413, allocations: 1.609 MB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.003474, allocations: 0.5 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.003507, allocations: 5.156 kB / 0.7624 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.003696, allocations: 25.81 kB / 0.7624 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.004032, allocations: 156.8 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.004169, allocations: 127.5 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.004262, allocations: 12 kB / 0.7627 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.00445, allocations: 77.36 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.68e-05/0.004527, allocations: 35.89 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.004547, allocations: 12.66 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.004748, allocations: 131.8 kB / 0.7629 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.004772, allocations: 21.52 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.004806, allocations: 31.91 kB / 0.763 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.005037, allocations: 195.4 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005041, allocations: 0 / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005042, allocations: 1.25 kB / 0.7631 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005046, allocations: 0 / 0.7631 GB, free: 3.488 MB / 0.7136 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.0004841/0.00553, allocations: 337.5 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.005567, allocations: 8.031 kB / 0.7635 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.005812, allocations: 38.03 kB / 0.7635 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005974, allocations: 130.8 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.006044, allocations: 63.91 kB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.006055, allocations: 4.375 kB / 0.7637 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.006185, allocations: 112.1 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006194, allocations: 192 / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.006205, allocations: 8.125 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.006212, allocations: 0 / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.006253, allocations: 19.92 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.006604, allocations: 372.5 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.00686, allocations: 110.8 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.006892, allocations: 42.59 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.006911, allocations: 0 / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.007032, allocations: 99.36 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.007033, allocations: 0 / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001535/0.007186, allocations: 89.53 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.00724, allocations: 111.4 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.007316, allocations: 130.6 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.007333, allocations: 31.36 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.00737, allocations: 88.41 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.007396, allocations: 35.69 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.007438, allocations: 33.69 kB / 0.7649 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.007519, allocations: 321.2 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.007565, allocations: 19.98 kB / 0.7653 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.143e-05/0.007587, allocations: 12 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.00765, allocations: 50.94 kB / 0.7653 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.007653, allocations: 3.984 kB / 0.7653 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.017e-05/0.007743, allocations: 73.61 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007755, allocations: 6.594 kB / 0.7654 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.007761, allocations: 4 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.007775, allocations: 0 / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.738e-05/0.007862, allocations: 27.91 kB / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007865, allocations: 0 / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.007906, allocations: 8 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.007914, allocations: 4 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 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 7.071e-05/0.007985, allocations: 122.7 kB / 0.7656 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.007999, allocations: 8.969 kB / 0.7656 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.008146, allocations: 100.1 kB / 0.7657 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.008149, allocations: 4 kB / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.00815, allocations: 0 / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.008155, allocations: 0 / 0.7657 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.636e-05/0.008251, allocations: 97.84 kB / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008253, allocations: 0 / 0.7658 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.008303, allocations: 26.31 kB / 0.7658 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008306, allocations: 4 kB / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008316, allocations: 11.92 kB / 0.7658 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.008319, allocations: 4 kB / 0.7658 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00832, allocations: 0 / 0.7658 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.008422, allocations: 119 kB / 0.7659 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.008459, allocations: 21.7 kB / 0.7659 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.008479, allocations: 15.94 kB / 0.7659 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.008514, allocations: 0 / 0.7659 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.008551, allocations: 23.91 kB / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.008558, allocations: 0 / 0.766 GB, free: 332 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.278e-05/0.00858, allocations: 26.33 kB / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00858, allocations: 0 / 0.766 GB, free: 304 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001918/0.008772, allocations: 67.75 kB / 0.7661 GB, free: 236 kB / 0.7136 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.0002106/0.008983, allocations: 161.3 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.009097, allocations: 59.52 kB / 0.7663 GB, free: 8 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.009101, allocations: 8 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.009165, allocations: 45.36 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.009291, allocations: 8.719 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.009834, allocations: 235.6 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.009871, allocations: 63.88 kB / 0.7666 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.367e-05/0.009925, allocations: 19.33 kB / 0.7666 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.009988, allocations: 63.38 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of SimCode: time 7.11e-07/0.009989, allocations: 0.9688 kB / 0.7667 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.004367/0.01436, allocations: 2.172 MB / 0.7688 GB, free: 13.5 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3627243670634925]