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.002341/0.002341, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002215/0.002215, allocations: 216 kB / 22.25 MB, free: 5.262 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.789 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.986/2.986, allocations: 476 MB / 0.7699 GB, free: 4.738 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.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.00221/0.00221, allocations: 68.86 kB / 1.117 GB, free: 41.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00333/0.3661, allocations: 1.533 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3678, allocations: 0.7807 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.3678, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.3679, allocations: 7.875 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.368, allocations: 11.86 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007095/0.3687, allocations: 167.5 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3688, allocations: 103.6 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.3689, allocations: 8.219 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3691, allocations: 43.91 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.3692, allocations: 47.7 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.3692, allocations: 8 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.3695, allocations: 139.8 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.3695, allocations: 19.98 kB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.3696, allocations: 39.78 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.3699, allocations: 167 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3699, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3699, allocations: 4 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3699, allocations: 0 / 1.286 GB, free: 9.367 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.000785/0.3707, allocations: 428.9 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3707, allocations: 8.031 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.3708, allocations: 34.75 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.3711, allocations: 32.86 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3714, allocations: 146.3 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3714, allocations: 8.375 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3714, allocations: 4.375 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3716, allocations: 85.7 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3716, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3717, allocations: 4 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.3717, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3718, allocations: 43.97 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/0.3724, allocations: 307.7 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.3726, allocations: 74.67 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.182e-05/0.3727, allocations: 36.78 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3727, allocations: 0 / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.373, allocations: 103.4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.373, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004628/0.3734, allocations: 181.5 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3735, allocations: 63.39 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3736, allocations: 135.8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3736, allocations: 33.7 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.3737, allocations: 96.09 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.3737, allocations: 23.84 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.3738, allocations: 29.7 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3739, allocations: 326.8 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.374, allocations: 27.98 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3741, allocations: 84.52 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.3743, allocations: 109.1 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3743, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002695/0.3746, allocations: 133.4 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3746, allocations: 8 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3746, allocations: 3.938 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3747, allocations: 4 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.3748, allocations: 24.02 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3748, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3749, allocations: 15.98 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3749, allocations: 4 kB / 1.288 GB, free: 6.559 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.0001108/0.375, allocations: 129.8 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.375, allocations: 7.953 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.3754, allocations: 170 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3754, allocations: 3.984 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3754, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3754, allocations: 4 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006351/0.376, allocations: 413.4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.376, allocations: 0 / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.3761, allocations: 19.98 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3761, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3761, allocations: 7.938 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3761, allocations: 3.984 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3761, allocations: 0 / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3765, allocations: 255.4 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.3765, allocations: 7.953 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3765, allocations: 3.938 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.3767, allocations: 11.98 kB / 1.289 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3767, allocations: 7.984 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3767, allocations: 7.938 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.109e-05/0.3768, allocations: 109.8 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3768, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003201/0.3771, allocations: 39.94 kB / 1.289 GB, free: 5.301 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.0009388/0.3781, allocations: 0.8451 MB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3783, allocations: 87.89 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3783, allocations: 0 / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.3784, allocations: 53.28 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3788, allocations: 28.53 kB / 1.29 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.3807, allocations: 1.647 MB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.3808, allocations: 81.33 kB / 1.292 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.49e-05/0.3809, allocations: 20.34 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.183e-05/0.3809, allocations: 31.42 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.3809, allocations: 0 / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/0.4153, allocations: 3.986 MB / 1.296 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 9.203 kB / 1.296 GB, free: 14.55 MB / 0.9981 GB " [Timeout remaining time 287] (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: 19.08777868375182]