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.0008008/0.0008008, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.000826/0.000826, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 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 0.8922/0.8922, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.9 MB / 0.6229 GB, free: 8.617 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.683e-06/1.683e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.827e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001428/0.001456, allocations: 0.7037 MB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.002987, allocations: 1.552 MB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.003043, allocations: 4 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.003074, allocations: 11.86 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.003228, allocations: 7.875 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.003574, allocations: 187.2 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.003702, allocations: 115.6 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.826e-05/0.00379, allocations: 15.98 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.003955, allocations: 71.88 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.004026, allocations: 43.88 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.004048, allocations: 12 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.004213, allocations: 115.8 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.004238, allocations: 19.97 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.004279, allocations: 47.83 kB / 0.985 GB, free: 15.19 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.004541, allocations: 243.3 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.004544, allocations: 0 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004545, allocations: 0 / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.00455, allocations: 0 / 0.9852 GB, free: 14.95 MB / 0.948 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.0005025/0.005052, allocations: 365.6 kB / 0.9856 GB, free: 14.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.005087, allocations: 8.031 kB / 0.9856 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002101/0.005297, allocations: 28.88 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.31e-05/0.00539, allocations: 121.7 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/0.005459, allocations: 59.95 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.005473, allocations: 8.375 kB / 0.9858 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.005611, allocations: 100.7 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005619, allocations: 192 / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.005633, allocations: 12.11 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.005638, allocations: 0 / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.005714, allocations: 43.92 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.006145, allocations: 448.8 kB / 0.9864 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.006461, allocations: 143.7 kB / 0.9865 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.006512, allocations: 38.67 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.006533, allocations: 11.92 kB / 0.9866 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.006714, allocations: 114 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.006716, allocations: 0 / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002513/0.006967, allocations: 145.5 kB / 0.9868 GB, free: 13.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.007013, allocations: 102.8 kB / 0.9869 GB, free: 13.03 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.421e-05/0.007097, allocations: 145.6 kB / 0.987 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.007113, allocations: 29.7 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.007155, allocations: 92.41 kB / 0.9872 GB, free: 12.75 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.00718, allocations: 27.75 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.007226, allocations: 33.7 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.007305, allocations: 318.8 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.00737, allocations: 40.11 kB / 0.9876 GB, free: 12.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.007429, allocations: 35.98 kB / 0.9876 GB, free: 12.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.007537, allocations: 75.38 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.00754, allocations: 3.938 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001632/0.007704, allocations: 137.5 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007716, allocations: 4 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.00772, allocations: 0 / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.007732, allocations: 0 / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.464e-05/0.007806, allocations: 19.98 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.00781, allocations: 3.938 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.007856, allocations: 19.94 kB / 0.9878 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.007864, allocations: 4 kB / 0.9879 GB, free: 12.02 MB / 0.948 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.796e-05/0.007942, allocations: 129.7 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.007956, allocations: 8.203 kB / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.008135, allocations: 114.2 kB / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.00814, allocations: 8.031 kB / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.008144, allocations: 0 / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.008147, allocations: 0 / 0.9881 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.00826, allocations: 161.2 kB / 0.9883 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.008263, allocations: 7.922 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.008317, allocations: 16 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.008319, allocations: 0 / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.008328, allocations: 3.938 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.008332, allocations: 7.984 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008333, allocations: 0 / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.008506, allocations: 174.7 kB / 0.9885 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.008552, allocations: 31.81 kB / 0.9885 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008568, allocations: 0 / 0.9885 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.156e-05/0.00861, allocations: 12 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.008653, allocations: 19.97 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.008661, allocations: 4 kB / 0.9885 GB, free: 11.26 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.008705, allocations: 99.27 kB / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008705, allocations: 0 / 0.9886 GB, free: 11.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002147/0.00892, allocations: 67.73 kB / 0.9887 GB, free: 11.1 MB / 0.948 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.0002167/0.009137, allocations: 178.9 kB / 0.9888 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.009307, allocations: 91.89 kB / 0.9889 GB, free: 10.83 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009309, allocations: 0 / 0.9889 GB, free: 10.83 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.253e-05/0.009371, allocations: 51.92 kB / 0.989 GB, free: 10.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001659/0.009537, allocations: 16.31 kB / 0.989 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.009919, allocations: 266.5 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.009976, allocations: 81.45 kB / 0.9893 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.01001, allocations: 20.48 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.01002, allocations: 0 / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of Templates: time 0.002689/0.0127, allocations: 2.072 MB / 0.9914 GB, free: 8.273 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.686178213916719]