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.001809/0.001809, allocations: 107.9 kB / 16.45 MB, free: 6.035 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.002338/0.002338, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.743/2.743, allocations: 476.7 MB / 0.7611 GB, free: 11.27 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.104 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8202, allocations: 168.7 MB / 1.269 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003366/0.8236, allocations: 1.557 MB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.8252, allocations: 0.7766 MB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.8253, allocations: 0 / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.8253, allocations: 7.875 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.8254, allocations: 27.78 kB / 1.271 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.8261, allocations: 127.6 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.8262, allocations: 99.64 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.8263, allocations: 11.98 kB / 1.271 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.8265, allocations: 35.91 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.8266, allocations: 51.77 kB / 1.271 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.8266, allocations: 8 kB / 1.271 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.8268, allocations: 111.8 kB / 1.271 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.596e-05/0.8269, allocations: 19.92 kB / 1.271 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.8269, allocations: 43.8 kB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.8273, allocations: 169.2 kB / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8273, allocations: 0 / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8273, allocations: 0 / 1.272 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8273, allocations: 0 / 1.272 GB, free: 2.07 MB / 0.9669 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.0009334/0.8282, allocations: 0.5019 MB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.8283, allocations: 12.03 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.8283, allocations: 38.75 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.8284, allocations: 12.84 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.8286, allocations: 188.2 kB / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.8286, allocations: 8.375 kB / 1.272 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.8286, allocations: 4.375 kB / 1.272 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.8288, allocations: 85.64 kB / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8289, allocations: 0 / 1.272 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.8289, allocations: 8 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8289, allocations: 0 / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.8291, allocations: 51.94 kB / 1.273 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.8297, allocations: 336.7 kB / 1.273 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.83, allocations: 74.66 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.8301, allocations: 32.84 kB / 1.273 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.8301, allocations: 8 kB / 1.273 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.8304, allocations: 95.34 kB / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.8304, allocations: 96 / 1.273 GB, free: 452 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004723/0.8308, allocations: 181.4 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.8309, allocations: 51.41 kB / 1.273 GB, free: 200 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.8311, allocations: 143.7 kB / 1.273 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.8311, allocations: 29.7 kB / 1.273 GB, free: 12 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8312, allocations: 104.1 kB / 1.274 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.8312, allocations: 31.77 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.8313, allocations: 29.7 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.8314, allocations: 326.8 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.8315, allocations: 27.98 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.8317, allocations: 79.88 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.8319, allocations: 101.1 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8319, allocations: 0 / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002899/0.8321, allocations: 141.4 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8322, allocations: 8 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8322, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.8322, allocations: 4 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.8323, allocations: 15.98 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8323, allocations: 3.938 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.8324, allocations: 19.92 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.8324, allocations: 4 kB / 1.274 GB, free: 15.07 MB / 0.9825 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 0.000148/0.8326, allocations: 131.1 kB / 1.274 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.8326, allocations: 7.953 kB / 1.274 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.833, allocations: 186.1 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.833, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.833, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.833, allocations: 0 / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/0.8339, allocations: 470.2 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8339, allocations: 0 / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.834, allocations: 15.94 kB / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.834, allocations: 0 / 1.275 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.834, allocations: 7.984 kB / 1.275 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.834, allocations: 7.938 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.834, allocations: 0 / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.8344, allocations: 251.4 kB / 1.275 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.8345, allocations: 81.06 kB / 1.275 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.8345, allocations: 8 kB / 1.275 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.8346, allocations: 15.86 kB / 1.275 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.8347, allocations: 7.984 kB / 1.275 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.8347, allocations: 11.98 kB / 1.275 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.8348, allocations: 108.9 kB / 1.276 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8348, allocations: 4 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003395/0.8351, allocations: 39.94 kB / 1.276 GB, free: 13.63 MB / 0.9825 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.001003/0.8361, allocations: 0.8396 MB / 1.276 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.8364, allocations: 98.64 kB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8364, allocations: 0 / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.8365, allocations: 55.89 kB / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.8368, allocations: 29.36 kB / 1.277 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.839, allocations: 1.694 MB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.8393, allocations: 0.7002 MB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.659e-05/0.8394, allocations: 12.55 kB / 1.279 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.282e-05/0.8394, allocations: 35.41 kB / 1.279 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of SimCode: time 7.81e-07/0.8394, allocations: 0 / 1.279 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.8678, allocations: 3.489 MB / 1.282 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/9.185, allocations: 13.92 kB / 1.282 GB, free: 6.668 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.201451647095382]