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.001415/0.001415, allocations: 108.1 kB / 16.45 MB, free: 6.453 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.001535/0.001535, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.893/2.893, allocations: 476.7 MB / 0.7672 GB, free: 5.363 MB / 0.6231 GB " [Timeout remaining time 176] 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.002039/0.002039, allocations: 67.91 kB / 1.112 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9442/0.9463, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002925/0.9492, allocations: 1.567 MB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.9508, allocations: 0.8585 MB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.9509, allocations: 7.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.9509, allocations: 3.938 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.951, allocations: 19.78 kB / 1.281 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006954/0.9517, allocations: 155.5 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.9519, allocations: 99.64 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.952, allocations: 12 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.9521, allocations: 55.77 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.9522, allocations: 51.75 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.9523, allocations: 8 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.9525, allocations: 119.8 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.148e-05/0.9525, allocations: 19.92 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.9526, allocations: 43.78 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.9529, allocations: 181.2 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.9529, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9529, allocations: 0 / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.9529, allocations: 0 / 1.281 GB, free: 10.23 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.0009257/0.9538, allocations: 0.5154 MB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9539, allocations: 8.031 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.9539, allocations: 38.73 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.9542, allocations: 28.88 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.9545, allocations: 196.7 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.9545, allocations: 12.38 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.9545, allocations: 15.91 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.9547, allocations: 81.64 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.9547, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9548, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9548, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.9549, allocations: 51.91 kB / 1.282 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.9555, allocations: 340.7 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.9557, allocations: 74.7 kB / 1.283 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.9558, allocations: 36.83 kB / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.9559, allocations: 0 / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.9561, allocations: 99.36 kB / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.9561, allocations: 0 / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004734/0.9566, allocations: 181.7 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.9566, allocations: 59.41 kB / 1.283 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.9568, allocations: 141 kB / 1.283 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.9568, allocations: 33.7 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.9569, allocations: 108 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.9569, allocations: 23.81 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.886e-05/0.957, allocations: 41.69 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9572, allocations: 318.8 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.9572, allocations: 31.97 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.9574, allocations: 65.14 kB / 1.284 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.9576, allocations: 109.1 kB / 1.284 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9576, allocations: 4 kB / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002726/0.9579, allocations: 133.6 kB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9579, allocations: 10.44 kB / 1.284 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9579, allocations: 7.984 kB / 1.284 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.9579, allocations: 11.92 kB / 1.284 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.958, allocations: 15.98 kB / 1.284 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.9581, allocations: 3.938 kB / 1.284 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.9582, allocations: 19.89 kB / 1.284 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.9582, allocations: 7.984 kB / 1.284 GB, free: 7.168 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.0001213/0.9583, allocations: 124.4 kB / 1.284 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.9583, allocations: 11.95 kB / 1.284 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.9587, allocations: 166.3 kB / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.9587, allocations: 3.938 kB / 1.284 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.9587, allocations: 3.938 kB / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9587, allocations: 0 / 1.284 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.9594, allocations: 468 kB / 1.285 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9594, allocations: 0 / 1.285 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.9595, allocations: 23.92 kB / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9595, allocations: 0 / 1.285 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.9595, allocations: 7.984 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9595, allocations: 3.938 kB / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9595, allocations: 0 / 1.285 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.9599, allocations: 247.4 kB / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.9599, allocations: 85 kB / 1.285 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.96, allocations: 4 kB / 1.285 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.9601, allocations: 15.98 kB / 1.285 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.9602, allocations: 11.98 kB / 1.285 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.9602, allocations: 4 kB / 1.285 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.541e-05/0.9603, allocations: 111.2 kB / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9603, allocations: 0 / 1.285 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004233/0.9607, allocations: 39.94 kB / 1.285 GB, free: 5.75 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.001162/0.9618, allocations: 0.8647 MB / 1.286 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.9621, allocations: 92.06 kB / 1.286 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9621, allocations: 4.188 kB / 1.286 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.9623, allocations: 47.91 kB / 1.286 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.9626, allocations: 23.98 kB / 1.286 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.9647, allocations: 1.683 MB / 1.288 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.9651, allocations: 0.708 MB / 1.289 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.69e-05/0.9652, allocations: 8.547 kB / 1.289 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.9652, allocations: 35.42 kB / 1.289 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.9652, allocations: 0 / 1.289 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.9936, allocations: 3.517 MB / 1.292 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.523, allocations: 18.36 kB / 1.292 GB, free: 14.75 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.804854681016877]