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.001822/0.001822, allocations: 103.7 kB / 16.45 MB, free: 6.449 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.002386/0.002386, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.831/2.831, allocations: 476.7 MB / 0.7672 GB, free: 5.273 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.002927/0.002927, allocations: 59.91 kB / 1.112 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7952, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003056/0.7982, allocations: 1.55 MB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001871/0.8001, allocations: 0.8273 MB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.8002, allocations: 4 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.331e-05/0.8003, allocations: 15.86 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.8004, allocations: 15.86 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006939/0.8011, allocations: 139.5 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.8013, allocations: 107.6 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.8014, allocations: 4.234 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.8016, allocations: 59.83 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.8017, allocations: 51.75 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.8017, allocations: 8 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.802, allocations: 107.9 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.802, allocations: 23.97 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.8021, allocations: 47.72 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.8025, allocations: 169.2 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8025, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8025, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8025, allocations: 0 / 1.281 GB, free: 10.32 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.0008383/0.8033, allocations: 0.4921 MB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.8033, allocations: 16.03 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.8034, allocations: 34.75 kB / 1.282 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003094/0.8037, allocations: 36.81 kB / 1.282 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.804, allocations: 192.2 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.804, allocations: 12.31 kB / 1.282 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.804, allocations: 4.375 kB / 1.282 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.8042, allocations: 85.7 kB / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.8042, allocations: 4 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.8042, allocations: 4 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8043, allocations: 0 / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.8044, allocations: 51.95 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006841/0.8051, allocations: 332.7 kB / 1.283 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.8054, allocations: 74.67 kB / 1.283 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.8055, allocations: 36.84 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.8055, allocations: 3.984 kB / 1.283 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.8058, allocations: 103.4 kB / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.8058, allocations: 0 / 1.283 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005776/0.8063, allocations: 181.8 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.8064, allocations: 51.41 kB / 1.283 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.8066, allocations: 140.1 kB / 1.283 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.8066, allocations: 25.7 kB / 1.283 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.8067, allocations: 100.1 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.8068, allocations: 23.8 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.8068, allocations: 37.7 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.807, allocations: 322.8 kB / 1.284 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.8071, allocations: 35.92 kB / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.8072, allocations: 73.12 kB / 1.284 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.8074, allocations: 105 kB / 1.284 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.8074, allocations: 4 kB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002891/0.8077, allocations: 137.4 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8077, allocations: 8 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.8077, allocations: 3.984 kB / 1.284 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8077, allocations: 4 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.8078, allocations: 15.92 kB / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8078, allocations: 8.094 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.808, allocations: 11.94 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.808, allocations: 15.92 kB / 1.284 GB, free: 7.289 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.0001249/0.8081, allocations: 120.4 kB / 1.284 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.8081, allocations: 11.95 kB / 1.284 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.8085, allocations: 162.3 kB / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8085, allocations: 0 / 1.284 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.8085, allocations: 8 kB / 1.284 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.8085, allocations: 0 / 1.284 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.8093, allocations: 450.3 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8093, allocations: 4 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.429e-05/0.8094, allocations: 11.98 kB / 1.285 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8094, allocations: 0 / 1.285 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8094, allocations: 11.88 kB / 1.285 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8094, allocations: 0 / 1.285 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8094, allocations: 4 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.8099, allocations: 250.8 kB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.8099, allocations: 89 kB / 1.285 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.81, allocations: 7.922 kB / 1.285 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.8101, allocations: 8 kB / 1.285 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.8102, allocations: 11.98 kB / 1.285 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.8102, allocations: 15.98 kB / 1.285 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.416e-05/0.8103, allocations: 95.27 kB / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8103, allocations: 0 / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003449/0.8106, allocations: 43.94 kB / 1.285 GB, free: 5.898 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.001039/0.8117, allocations: 0.8432 MB / 1.286 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.812, allocations: 95.89 kB / 1.286 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.812, allocations: 0 / 1.286 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.8121, allocations: 51.86 kB / 1.286 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.8124, allocations: 28.09 kB / 1.286 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.8148, allocations: 1.65 MB / 1.288 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.8153, allocations: 0.7002 MB / 1.288 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.758e-05/0.8153, allocations: 16.42 kB / 1.289 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.8154, allocations: 27.42 kB / 1.289 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.8154, allocations: 0 / 1.289 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.8457, allocations: 3.373 MB / 1.292 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/9.261, allocations: 7.812 kB / 1.292 GB, free: 15.09 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.548682755092159]