Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001222/0.001222, allocations: 110.8 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.001234/0.001234, 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] 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.485/2.485, allocations: 476.7 MB / 0.7628 GB, free: 15.16 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.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 67.89 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7869, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002191/0.7891, allocations: 1.529 MB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.7902, allocations: 0.7429 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.7902, allocations: 4.812 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.7902, allocations: 5.25 kB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.7903, allocations: 6.797 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.7908, allocations: 124.7 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.7909, allocations: 81.16 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.791, allocations: 13.89 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.791, allocations: 31.61 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.7911, allocations: 44.78 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.7911, allocations: 6.438 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.7913, allocations: 104.4 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.7913, allocations: 15.61 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.7914, allocations: 34.75 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.7916, allocations: 140.3 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7916, allocations: 0.75 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7916, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7916, allocations: 1.172 kB / 1.274 GB, free: 5.906 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005104/0.7921, allocations: 427.3 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.7921, allocations: 10.12 kB / 1.275 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.7922, allocations: 36.31 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.7922, allocations: 8.641 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.7923, allocations: 169 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.7923, allocations: 7.156 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.7923, allocations: 4.438 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.7925, allocations: 68.11 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.7925, allocations: 0.6094 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7925, allocations: 9.062 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.7925, allocations: 1.062 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.7926, allocations: 39.56 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.7931, allocations: 320.5 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.7932, allocations: 42.58 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.528e-05/0.7933, allocations: 34.22 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.7933, allocations: 1.453 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.7935, allocations: 88.88 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7935, allocations: 0 / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003616/0.7938, allocations: 133.2 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.7939, allocations: 55.55 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.082e-05/0.7939, allocations: 127.4 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.794, allocations: 26.8 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.794, allocations: 91.97 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.794, allocations: 16.58 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.7941, allocations: 28.55 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.7941, allocations: 326.4 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.7942, allocations: 27.48 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.283e-05/0.7943, allocations: 48.03 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.7944, allocations: 67.78 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7944, allocations: 0 / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002075/0.7946, allocations: 116.7 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7946, allocations: 6.062 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.7946, allocations: 4.656 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.7946, allocations: 1.219 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.7947, allocations: 15.19 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7947, allocations: 3.094 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.7948, allocations: 13.02 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.7948, allocations: 3.125 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.696e-05/0.7949, allocations: 123.8 kB / 1.277 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.7949, allocations: 16 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.7949, allocations: 10.84 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7949, allocations: 0.9062 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7949, allocations: 0.9688 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7949, allocations: 6 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.7952, allocations: 384.7 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7952, allocations: 0 / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.7953, allocations: 6.422 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7953, allocations: 0 / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.7953, allocations: 7.219 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7953, allocations: 3.938 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7953, allocations: 1.188 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.7955, allocations: 211.1 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.7955, allocations: 79.23 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7956, allocations: 2.25 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.7956, allocations: 12.36 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.7957, allocations: 4.984 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.7957, allocations: 3.578 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.7957, allocations: 96.39 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7957, allocations: 0.7812 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002757/0.796, allocations: 42.14 kB / 1.277 GB, free: 3.016 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0006109/0.7966, allocations: 0.8039 MB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.7968, allocations: 78.45 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7968, allocations: 0 / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.7969, allocations: 32.44 kB / 1.278 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.7971, allocations: 8.281 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.7984, allocations: 1.508 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.7987, allocations: 0.6898 MB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.7987, allocations: 8.203 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.7988, allocations: 21.12 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 3.6e-07/0.7988, allocations: 1.031 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.8233, allocations: 2.645 MB / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.882, allocations: 14.45 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_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_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 13.270110914003453]