Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.491/2.491, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 1.107 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7927, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002258/0.7949, allocations: 1.53 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.796, allocations: 0.775 MB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.796, allocations: 0.6875 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.7961, allocations: 9.469 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.7961, allocations: 11.64 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.7966, allocations: 127.4 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.7967, allocations: 84.7 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.7967, allocations: 15.98 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.7968, allocations: 35.83 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.7969, allocations: 45.55 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.7969, allocations: 10.66 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.7971, allocations: 106.6 kB / 1.274 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.7971, allocations: 18.58 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.7971, allocations: 30.08 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.7973, allocations: 150.1 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.7973, allocations: 3.938 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7973, allocations: 0.9375 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.7973, allocations: 0 / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005621/0.7979, allocations: 462.1 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.7979, allocations: 9.406 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.549e-05/0.7979, allocations: 40.52 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.798, allocations: 9.641 kB / 1.275 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.798, allocations: 191.3 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.7981, allocations: 4.594 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.7981, allocations: 8.562 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.7982, allocations: 74.22 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7982, allocations: 0.6094 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7982, allocations: 0.9375 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7983, allocations: 0.8125 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.7984, allocations: 41.91 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.7988, allocations: 323.6 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.7989, allocations: 55.64 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.926e-05/0.799, allocations: 35.14 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.799, allocations: 7.703 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.7991, allocations: 90.88 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.7992, allocations: 0 / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0003604/0.7995, allocations: 162.3 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.7995, allocations: 53.28 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.7996, allocations: 130.5 kB / 1.276 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.7996, allocations: 29.34 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.7996, allocations: 92.22 kB / 1.276 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.7997, allocations: 24.72 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.7997, allocations: 31.2 kB / 1.276 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.7997, allocations: 325.1 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.7998, allocations: 33.39 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-05/0.7999, allocations: 68.97 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.8, allocations: 99.22 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8, allocations: 0.8438 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002104/0.8002, allocations: 132 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.8002, allocations: 5.781 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8003, allocations: 1.125 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8003, allocations: 2.5 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.8004, allocations: 20.59 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8004, allocations: 3.266 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.8005, allocations: 17.66 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.8005, allocations: 5.391 kB / 1.277 GB, free: 3.684 MB / 0.9981 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.743e-05/0.8005, allocations: 134.2 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.8006, allocations: 7.797 kB / 1.277 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.8008, allocations: 154.5 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8008, allocations: 1.688 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8008, allocations: 0.9375 kB / 1.277 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8008, allocations: 3.938 kB / 1.277 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.8013, allocations: 428.1 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8013, allocations: 0 / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.8013, allocations: 14.3 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8013, allocations: 0 / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.8013, allocations: 8.875 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.8013, allocations: 5.188 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8013, allocations: 0 / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.8016, allocations: 229.2 kB / 1.278 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.8016, allocations: 88.86 kB / 1.278 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.8016, allocations: 6.484 kB / 1.278 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.8017, allocations: 11.73 kB / 1.278 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.8018, allocations: 13.2 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.8018, allocations: 5.094 kB / 1.278 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.974e-05/0.8018, allocations: 95.8 kB / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8018, allocations: 0 / 1.278 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002766/0.8021, allocations: 42.22 kB / 1.278 GB, free: 2.727 MB / 0.9981 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0005816/0.8027, allocations: 0.8249 MB / 1.279 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.8029, allocations: 85.22 kB / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.8029, allocations: 0 / 1.279 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.803, allocations: 42.53 kB / 1.279 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.8033, allocations: 18.2 kB / 1.279 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.8046, allocations: 1.607 MB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.8049, allocations: 0.6984 MB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.043e-05/0.8049, allocations: 11.88 kB / 1.281 GB, free: 15.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.805, allocations: 29.33 kB / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.805, allocations: 0 / 1.281 GB, free: 15.84 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.8305, allocations: 3.105 MB / 1.284 GB, free: 15.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.879, allocations: 3.547 kB / 1.284 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_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_Love1998Light1.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.317789968001307]