Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001427/0.001427, 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.001486/0.001486, 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.307/1.307, allocations: 225.6 MB / 249.3 MB, free: 3.199 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.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.23 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.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8128, allocations: 168.7 MB / 1.271 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002274/0.8151, allocations: 1.551 MB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.8163, allocations: 0.7671 MB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.8163, allocations: 0.8438 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.8164, allocations: 9.281 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.8165, allocations: 24.02 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.8169, allocations: 127.5 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.8171, allocations: 86.31 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.8171, allocations: 8 kB / 1.274 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.8172, allocations: 40.98 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.8173, allocations: 44.02 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.8173, allocations: 6.75 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.8175, allocations: 103.3 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.8175, allocations: 22.86 kB / 1.274 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.8176, allocations: 41.42 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.8178, allocations: 155.7 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8178, allocations: 0.75 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8178, allocations: 3.938 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.8178, allocations: 0 / 1.274 GB, free: 5.715 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.0006356/0.8184, allocations: 476.7 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8185, allocations: 9.188 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.8185, allocations: 39.47 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.8185, allocations: 14.58 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.8186, allocations: 177.4 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/0.8187, allocations: 34.53 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.8187, allocations: 8.594 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.8189, allocations: 74.59 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8189, allocations: 3.938 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8189, allocations: 4.656 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8189, allocations: 1.531 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.8191, allocations: 52.36 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.8195, allocations: 324.8 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.8197, allocations: 62.19 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.8198, allocations: 46.41 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.8198, allocations: 0.9375 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.82, allocations: 92.75 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.82, allocations: 0 / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004447/0.8205, allocations: 170.8 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.8205, allocations: 58.5 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.766e-05/0.8206, allocations: 137.1 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.8206, allocations: 27.95 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.8206, allocations: 92.36 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.8206, allocations: 26.38 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.8207, allocations: 35.62 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.8207, allocations: 328.9 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.8208, allocations: 30.38 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.8209, allocations: 73.53 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.8212, allocations: 113.3 kB / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8212, allocations: 0 / 1.277 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002747/0.8214, allocations: 140.7 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8214, allocations: 6 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.8214, allocations: 2.375 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8215, allocations: 1.875 kB / 1.277 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.8216, allocations: 21.2 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.8216, allocations: 2.562 kB / 1.277 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.8217, allocations: 14.39 kB / 1.277 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.8217, allocations: 5.125 kB / 1.277 GB, free: 3.492 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 6.499e-05/0.8218, allocations: 133.7 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.8218, allocations: 7.922 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.8218, allocations: 11.25 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8218, allocations: 0.8438 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.8218, allocations: 2.062 kB / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8218, allocations: 0 / 1.277 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.8223, allocations: 434 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8223, allocations: 2.969 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.8224, allocations: 8.25 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8224, allocations: 0.9062 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.8224, allocations: 7.547 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8224, allocations: 4.906 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8224, allocations: 0 / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.8227, allocations: 232.6 kB / 1.278 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.8227, allocations: 85.36 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.8227, allocations: 1.469 kB / 1.278 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.8229, allocations: 17.97 kB / 1.278 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.8229, allocations: 14.61 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.8229, allocations: 4.672 kB / 1.278 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.823, allocations: 101.7 kB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.823, allocations: 0 / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002837/0.8232, allocations: 47.72 kB / 1.278 GB, free: 2.602 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 (10): * Single equations (assignments): 7 * 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.0006575/0.8239, allocations: 0.8288 MB / 1.279 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.8242, allocations: 86.69 kB / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8242, allocations: 0 / 1.279 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.8243, allocations: 48.73 kB / 1.279 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.8246, allocations: 25.03 kB / 1.279 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.8262, allocations: 1.636 MB / 1.28 GB, free: 16.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.8265, allocations: 0.6933 MB / 1.281 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.8265, allocations: 12.53 kB / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.8266, allocations: 25.05 kB / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.8266, allocations: 0 / 1.281 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.8502, allocations: 3.126 MB / 1.284 GB, free: 15.17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.846, allocations: 10.12 kB / 1.284 GB, free: 15.17 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_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_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light_res.csv. Warning: Get data of variable lig.occ from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! Error: Could not read variable lig.on in file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv. Warning: Get data of variable lig.on from file Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.185270932001004]