Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.001613/0.001613, 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.002214/0.002214, allocations: 214.8 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.996 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.773/2.773, allocations: 476.8 MB / 0.7707 GB, free: 4.281 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.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.002135/0.002135, allocations: 69.11 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3464, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002936/0.3493, allocations: 1.564 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.3508, allocations: 0.8313 MB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.3509, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.3509, allocations: 7.875 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.885e-05/0.351, allocations: 27.8 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.3516, allocations: 147.6 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.3518, allocations: 107.6 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3519, allocations: 16.23 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.352, allocations: 55.77 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.3521, allocations: 39.83 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.3522, allocations: 8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.3525, allocations: 147.8 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.3525, allocations: 19.92 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.3526, allocations: 43.78 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.3528, allocations: 174.9 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.3529, allocations: 0 / 1.286 GB, free: 8.582 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.0008191/0.3537, allocations: 426.9 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3537, allocations: 8.031 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.3538, allocations: 38.73 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.3541, allocations: 36.83 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3543, allocations: 140.4 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3544, allocations: 8.312 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3544, allocations: 8.375 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.3546, allocations: 77.77 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3546, allocations: 4 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3547, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3547, allocations: 0 / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3548, allocations: 59.95 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.3555, allocations: 307.7 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.3557, allocations: 74.67 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.3558, allocations: 40.84 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3558, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.3561, allocations: 111.2 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.3561, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004624/0.3565, allocations: 177.5 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3566, allocations: 51.41 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3567, allocations: 141.7 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3567, allocations: 33.64 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.3568, allocations: 100.1 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3569, allocations: 27.78 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.3569, allocations: 33.7 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3571, allocations: 322.8 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.883e-05/0.3572, allocations: 31.92 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3573, allocations: 77.12 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.3575, allocations: 101.1 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3575, allocations: 4 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002649/0.3578, allocations: 137.4 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3578, allocations: 11.98 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3578, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3578, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3579, allocations: 19.92 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3579, allocations: 4 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.358, allocations: 12 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3581, allocations: 12.08 kB / 1.289 GB, free: 5.75 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.0001166/0.3582, allocations: 121.8 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.3582, allocations: 15.89 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.3586, allocations: 163.5 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3586, allocations: 0 / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3586, allocations: 0 / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.3586, allocations: 7.984 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.3592, allocations: 417.4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3592, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.3593, allocations: 11.98 kB / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3593, allocations: 144 / 1.29 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3593, allocations: 11.94 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3593, allocations: 0 / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3593, allocations: 4 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3597, allocations: 256.4 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.3597, allocations: 7.953 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3597, allocations: 3.938 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.3599, allocations: 15.98 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.3599, allocations: 15.91 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3599, allocations: 4 kB / 1.29 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.36, allocations: 102.2 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.36, allocations: 3.938 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003588/0.3604, allocations: 51.86 kB / 1.29 GB, free: 4.48 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 (13): * Single equations (assignments): 10 * 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.001143/0.3615, allocations: 0.8354 MB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.3618, allocations: 87.89 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3618, allocations: 0 / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.362, allocations: 47.91 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.3624, allocations: 24.41 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.3647, allocations: 1.645 MB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3651, allocations: 0.7002 MB / 1.293 GB, free: 1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.078e-05/0.3651, allocations: 16.61 kB / 1.293 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.3652, allocations: 31.44 kB / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/0.3652, allocations: 0 / 1.293 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.3982, allocations: 3.541 MB / 1.297 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 8.047 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_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_Gunay2016Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.429242504000285]