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.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.001322/0.001322, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001567/0.001567, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.97 kB / 1.117 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003285/0.3411, allocations: 1.585 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3428, allocations: 0.8664 MB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.3429, allocations: 0 / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.3429, allocations: 11.86 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.343, allocations: 11.88 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006982/0.3437, allocations: 167.4 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.3439, allocations: 95.7 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.344, allocations: 15.97 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.3442, allocations: 55.78 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.3443, allocations: 47.77 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3443, allocations: 8 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.3446, allocations: 151.7 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.3446, allocations: 23.91 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.3447, allocations: 39.8 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.345, allocations: 183 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.345, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.044e-06/0.345, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.345, allocations: 3.938 kB / 1.287 GB, free: 8.336 MB / 0.9825 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.0008283/0.3459, allocations: 456.7 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3459, allocations: 8.031 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.346, allocations: 34.73 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.3463, allocations: 32.83 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3465, allocations: 139 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3466, allocations: 4.375 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3466, allocations: 11.94 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3468, allocations: 81.58 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3468, allocations: 3.984 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3468, allocations: 4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.3468, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.347, allocations: 43.97 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.3476, allocations: 315.8 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3479, allocations: 78.69 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.348, allocations: 28.84 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.348, allocations: 4 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.3482, allocations: 107.3 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.3482, allocations: 4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004637/0.3487, allocations: 181.4 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3487, allocations: 55.41 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3489, allocations: 149.1 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.3489, allocations: 33.7 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.349, allocations: 92.08 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.349, allocations: 35.72 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.3491, allocations: 41.7 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3492, allocations: 322.8 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.3493, allocations: 27.98 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3494, allocations: 67.23 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3496, allocations: 109 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3496, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002546/0.3499, allocations: 133.5 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3499, allocations: 10.12 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3499, allocations: 4 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3499, allocations: 3.938 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.35, allocations: 15.98 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.35, allocations: 7.938 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3501, allocations: 23.88 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3502, allocations: 4 kB / 1.289 GB, free: 5.473 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.0002278/0.3504, allocations: 132.6 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3504, allocations: 11.95 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3508, allocations: 165.3 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3508, allocations: 4.141 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3508, allocations: 7.922 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3508, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006361/0.3514, allocations: 425.5 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3514, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.3515, allocations: 27.86 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3515, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3515, allocations: 4 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3515, allocations: 4 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3515, allocations: 0 / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.3519, allocations: 239.4 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.3519, allocations: 15.83 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3519, allocations: 7.984 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.352, allocations: 12 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.3521, allocations: 11.97 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3521, allocations: 8 kB / 1.29 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.214e-05/0.3522, allocations: 111.2 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3522, allocations: 0 / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004013/0.3526, allocations: 43.94 kB / 1.29 GB, free: 4.188 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.0009558/0.3536, allocations: 0.8494 MB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.3538, allocations: 99.81 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3538, allocations: 4.188 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.354, allocations: 52.97 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.3543, allocations: 19.97 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3563, allocations: 1.693 MB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3567, allocations: 0.708 MB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.3567, allocations: 12.48 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.3568, allocations: 31.42 kB / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3568, allocations: 0 / 1.294 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.3894, allocations: 3.685 MB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 8.062 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable lig.occ in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.605238696000015]