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.001111/0.001111, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001391/0.001391, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9454/0.9454, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.727/1.727, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.554e-05, allocations: 8.891 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001984/0.00201, allocations: 1.553 MB / 0.952 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003024, allocations: 0.8105 MB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.003075, allocations: 3.938 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.0031, allocations: 7.922 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.008e-05/0.00317, allocations: 23.75 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.003618, allocations: 159.4 kB / 0.953 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003722, allocations: 103.6 kB / 0.9531 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.003799, allocations: 7.984 kB / 0.9531 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.003935, allocations: 67.81 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.003999, allocations: 39.88 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.004015, allocations: 8 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.004203, allocations: 151.6 kB / 0.9533 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.004225, allocations: 27.91 kB / 0.9533 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.004259, allocations: 31.86 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.004472, allocations: 195.5 kB / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004475, allocations: 0 / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004476, allocations: 0 / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.00448, allocations: 0 / 0.9536 GB, free: 336 kB / 0.9011 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.0005432/0.005024, allocations: 442.7 kB / 0.954 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.005057, allocations: 8.031 kB / 0.954 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.005088, allocations: 38.75 kB / 0.954 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.005254, allocations: 40.8 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.005435, allocations: 144.5 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.005446, allocations: 4.375 kB / 0.9542 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.005458, allocations: 4.375 kB / 0.9542 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.005596, allocations: 81.95 kB / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.005603, allocations: 0 / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005613, allocations: 0 / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.005617, allocations: 0 / 0.9543 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.005719, allocations: 59.95 kB / 0.9543 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.006086, allocations: 283.8 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.00623, allocations: 78.66 kB / 0.9547 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.006281, allocations: 32.84 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.006299, allocations: 3.984 kB / 0.9547 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.006438, allocations: 107.3 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.006439, allocations: 0 / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002876/0.006727, allocations: 177.5 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.006761, allocations: 59.41 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.006843, allocations: 140.6 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.006857, allocations: 33.7 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.006898, allocations: 96.09 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.00692, allocations: 31.77 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.00696, allocations: 33.7 kB / 0.9554 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.007037, allocations: 334.7 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.007085, allocations: 27.98 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.007149, allocations: 73.12 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.007263, allocations: 101.1 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.007265, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001559/0.007421, allocations: 141.4 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.007435, allocations: 8 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.00744, allocations: 96 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.00745, allocations: 4 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.007517, allocations: 27.92 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007522, allocations: 0 / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.949e-05/0.007572, allocations: 15.92 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.007584, allocations: 11.94 kB / 0.9561 GB, free: 13.49 MB / 0.9167 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 7.356e-05/0.007658, allocations: 121.8 kB / 0.9562 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.007671, allocations: 11.91 kB / 0.9562 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.007903, allocations: 174.4 kB / 0.9564 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.007907, allocations: 8 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.00791, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.007916, allocations: 3.984 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.0083, allocations: 421.5 kB / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008301, allocations: 0 / 0.9568 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.00834, allocations: 15.98 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.008344, allocations: 3.984 kB / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008352, allocations: 0 / 0.9568 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.008355, allocations: 3.938 kB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008356, allocations: 8 kB / 0.9568 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.008687, allocations: 250.5 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.008701, allocations: 19.89 kB / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.008717, allocations: 0 / 0.9571 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.008776, allocations: 15.92 kB / 0.9571 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.008813, allocations: 11.98 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.008827, allocations: 4 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.659e-05/0.008873, allocations: 107.2 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.008873, allocations: 0 / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002158/0.009089, allocations: 47.94 kB / 0.9573 GB, free: 12.2 MB / 0.9167 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.0005733/0.009662, allocations: 0.8579 MB / 0.9581 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.009833, allocations: 91.89 kB / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009834, allocations: 192 / 0.9582 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.009905, allocations: 51.91 kB / 0.9582 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01012, allocations: 25.69 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.01134, allocations: 1.681 MB / 0.9599 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.632e-05/0.01139, allocations: 92.3 kB / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.01143, allocations: 12.77 kB / 0.96 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.01149, allocations: 36.48 kB / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01149, allocations: 0 / 0.96 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.03006, allocations: 4.31 MB / 0.9642 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.875/6.905, allocations: 0 / 0.9642 GB, free: 5.066 MB / 0.9167 GB " [Timeout remaining time 293] (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/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] "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: 11.237900233827531]