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.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.001962/0.001962, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002369/0.002369, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.517/1.517, allocations: 177.2 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.151/3.151, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.855e-05, allocations: 5.375 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00196/0.001989, allocations: 0.7095 MB / 1.001 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.004526, allocations: 1.544 MB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.004593, allocations: 0 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.004632, allocations: 3.938 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.004821, allocations: 35.66 kB / 1.002 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.005371, allocations: 163.3 kB / 1.002 GB, free: 4.836 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.005575, allocations: 127.6 kB / 1.003 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.005691, allocations: 8 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.005947, allocations: 75.86 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.006058, allocations: 39.89 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.006092, allocations: 12 kB / 1.003 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.006363, allocations: 123.8 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.006409, allocations: 27.91 kB / 1.003 GB, free: 4.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.255e-05/0.006481, allocations: 35.91 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.006911, allocations: 239.3 kB / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.006913, allocations: 0 / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006915, allocations: 0 / 1.003 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.006925, allocations: 0 / 1.003 GB, free: 4.16 MB / 0.9512 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.0008335/0.007759, allocations: 357.7 kB / 1.003 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.007798, allocations: 8.031 kB / 1.004 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.008158, allocations: 28.88 kB / 1.004 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.008321, allocations: 121.6 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.731e-05/0.008418, allocations: 63.97 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.008438, allocations: 8.312 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.00867, allocations: 100.8 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.008683, allocations: 4.125 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.008701, allocations: 12.06 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.008708, allocations: 8 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.008824, allocations: 39.97 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.00953, allocations: 452.8 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.01012, allocations: 143.7 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.0102, allocations: 50.66 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.01022, allocations: 0 / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.01049, allocations: 117.8 kB / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.01049, allocations: 0 / 1.005 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0003782/0.01087, allocations: 145.5 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.01096, allocations: 106.8 kB / 1.005 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.01108, allocations: 121.8 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.01112, allocations: 33.7 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.01119, allocations: 88.41 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.01123, allocations: 31.7 kB / 1.005 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.0113, allocations: 45.81 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01151, allocations: 318.8 kB / 1.005 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.01162, allocations: 35.98 kB / 1.005 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-05/0.01171, allocations: 35.97 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.0119, allocations: 79.38 kB / 1.006 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.0119, allocations: 3.938 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002831/0.01219, allocations: 129.5 kB / 1.006 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.0122, allocations: 4 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01221, allocations: 0 / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01222, allocations: 0 / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01235, allocations: 35.91 kB / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01236, allocations: 0 / 1.006 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.01245, allocations: 4 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.01247, allocations: 4 kB / 1.006 GB, free: 1.227 MB / 0.9512 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.0001274/0.01259, allocations: 133.5 kB / 1.006 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.01262, allocations: 7.953 kB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.01288, allocations: 118.1 kB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01288, allocations: 4 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.01289, allocations: 8.031 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.0129, allocations: 3.984 kB / 1.006 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01308, allocations: 141.3 kB / 1.006 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.01308, allocations: 7.938 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.01318, allocations: 19.92 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01319, allocations: 4 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.0132, allocations: 8.25 kB / 1.006 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.0132, allocations: 4 kB / 1.006 GB, free: 0.7344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.01321, allocations: 4 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.0135, allocations: 178.6 kB / 1.006 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.01355, allocations: 23.88 kB / 1.006 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.01358, allocations: 8 kB / 1.006 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.209e-05/0.01366, allocations: 7.984 kB / 1.006 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.01372, allocations: 11.98 kB / 1.006 GB, free: 492 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01373, allocations: 4 kB / 1.006 GB, free: 488 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.01381, allocations: 101.5 kB / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01381, allocations: 0 / 1.007 GB, free: 388 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003231/0.01413, allocations: 71.73 kB / 1.007 GB, free: 316 kB / 0.9512 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.0003111/0.01444, allocations: 178.9 kB / 1.007 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002483/0.01469, allocations: 102.5 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01469, allocations: 0 / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.01482, allocations: 43.97 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01504, allocations: 23.88 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.01554, allocations: 227.3 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.01563, allocations: 85.44 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.01569, allocations: 19.48 kB / 1.007 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.01575, allocations: 16.5 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.01575, allocations: 0 / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of Templates: time 0.005847/0.02159, allocations: 1.953 MB / 1.009 GB, free: 13.62 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.79990504682064]