Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7629 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 1.107 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.289, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003077/1.292, allocations: 1.57 MB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001521/1.294, allocations: 0.7874 MB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/1.294, allocations: 1.031 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.306e-05/1.294, allocations: 7.875 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/1.294, allocations: 21.27 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/1.294, allocations: 131.1 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/1.294, allocations: 97.45 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/1.295, allocations: 11.41 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/1.295, allocations: 46.62 kB / 1.275 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/1.295, allocations: 50.5 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/1.295, allocations: 7.406 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/1.295, allocations: 105.3 kB / 1.275 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/1.295, allocations: 22 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/1.295, allocations: 43.73 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/1.295, allocations: 162.3 kB / 1.275 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.295, allocations: 0 / 1.275 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.562e-06/1.295, allocations: 3.938 kB / 1.275 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.295, allocations: 5.562 kB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008311/1.296, allocations: 0.5086 MB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.296, allocations: 9.781 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/1.296, allocations: 10.14 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.297, allocations: 180 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/1.297, allocations: 8.312 kB / 1.276 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/1.297, allocations: 8.656 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/1.297, allocations: 85.31 kB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.297, allocations: 3.938 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/1.297, allocations: 0.8438 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.297, allocations: 1.344 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/1.297, allocations: 51.03 kB / 1.276 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/1.298, allocations: 328.7 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/1.298, allocations: 78.83 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.932e-05/1.298, allocations: 38.45 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/1.298, allocations: 1.906 kB / 1.276 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/1.298, allocations: 98.88 kB / 1.276 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/1.298, allocations: 4 kB / 1.276 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.000484/1.299, allocations: 176.6 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.299, allocations: 56.73 kB / 1.277 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/1.299, allocations: 141.2 kB / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/1.299, allocations: 26.86 kB / 1.277 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/1.299, allocations: 104.3 kB / 1.277 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/1.299, allocations: 31.36 kB / 1.277 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/1.299, allocations: 38.56 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/1.299, allocations: 325.6 kB / 1.277 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/1.299, allocations: 28.06 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/1.299, allocations: 71.03 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/1.3, allocations: 105.9 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.3, allocations: 5.891 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002563/1.3, allocations: 142.6 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.3, allocations: 6.906 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.3, allocations: 1.844 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.3, allocations: 5.781 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.3, allocations: 17.31 kB / 1.278 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.3, allocations: 5.594 kB / 1.278 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/1.3, allocations: 17.7 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.3, allocations: 6.328 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 8.446e-05/1.3, allocations: 129.8 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/1.3, allocations: 12.94 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003924/1.301, allocations: 171.5 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/1.301, allocations: 2.188 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.301, allocations: 0.9375 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.301, allocations: 0.8125 kB / 1.278 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/1.301, allocations: 464.6 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.301, allocations: 0 / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/1.301, allocations: 14.75 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.301, allocations: 4.781 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/1.301, allocations: 8.969 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.301, allocations: 0.9062 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.301, allocations: 4.844 kB / 1.278 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/1.302, allocations: 244.9 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/1.302, allocations: 93 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/1.302, allocations: 3.562 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/1.302, allocations: 15.11 kB / 1.279 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/1.302, allocations: 13.7 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.302, allocations: 6.188 kB / 1.279 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.961e-05/1.302, allocations: 110.2 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.302, allocations: 1.312 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003539/1.302, allocations: 42.55 kB / 1.279 GB, free: 2.781 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003903/1.303, allocations: 181 kB / 1.279 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002769/1.303, allocations: 88.64 kB / 1.279 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.303, allocations: 0 / 1.279 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/1.303, allocations: 51.98 kB / 1.279 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.303, allocations: 16.7 kB / 1.279 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/1.304, allocations: 249.7 kB / 1.279 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/1.304, allocations: 0.701 MB / 1.28 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.357e-05/1.304, allocations: 9.812 kB / 1.28 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/1.304, allocations: 19.94 kB / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.304, allocations: 0 / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.006652/1.311, allocations: 2.05 MB / 1.282 GB, free: 1.539 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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: 9.585744482465088]