Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.0008602/0.0008602, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009849/0.0009849, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9205/0.9205, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.445e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002008/0.002033, allocations: 1.51 MB / 0.952 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003045, allocations: 0.7639 MB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.003101, allocations: 4 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.003131, allocations: 7.875 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.479e-05/0.003186, allocations: 11.86 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.00374, allocations: 147.3 kB / 0.9529 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003855, allocations: 87.69 kB / 0.953 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.003948, allocations: 4.188 kB / 0.953 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.004091, allocations: 59.88 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.004143, allocations: 27.95 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.004163, allocations: 4 kB / 0.953 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.004366, allocations: 139.7 kB / 0.9532 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.004394, allocations: 19.91 kB / 0.9532 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.004429, allocations: 19.98 kB / 0.9532 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.004663, allocations: 171.4 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004666, allocations: 4 kB / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.382e-06/0.004667, allocations: 0 / 0.9534 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.004673, allocations: 3.938 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 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.0006512/0.005324, allocations: 355.5 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.005366, allocations: 8.031 kB / 0.9537 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.005398, allocations: 34.75 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.0056, allocations: 32.86 kB / 0.9538 GB, free: 48 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.005798, allocations: 125.7 kB / 0.9539 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.005821, allocations: 4.375 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.005836, allocations: 8.359 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.005979, allocations: 66.22 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.005987, allocations: 8.188 kB / 0.954 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005999, allocations: 3.938 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.006003, allocations: 0 / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.00608, allocations: 35.97 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.006503, allocations: 275.8 kB / 0.9543 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.0066, allocations: 50.48 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.00665, allocations: 32.97 kB / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.006671, allocations: 0 / 0.9544 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.006789, allocations: 79.44 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.00679, allocations: 0 / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002856/0.007076, allocations: 141.5 kB / 0.9546 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.007113, allocations: 55.41 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.00719, allocations: 128.4 kB / 0.9548 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007202, allocations: 25.7 kB / 0.9548 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.007246, allocations: 88.14 kB / 0.9549 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.007262, allocations: 19.89 kB / 0.9549 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.0073, allocations: 29.72 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.393e-05/0.007384, allocations: 326.7 kB / 0.9552 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.007438, allocations: 27.98 kB / 0.9553 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.007495, allocations: 46.55 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.953e-05/0.007595, allocations: 78.8 kB / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007597, allocations: 0 / 0.9554 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000142/0.007739, allocations: 117.5 kB / 0.9555 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.007753, allocations: 8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.007758, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.007771, allocations: 0 / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.007834, allocations: 15.92 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007841, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.007876, allocations: 19.88 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.007886, allocations: 3.938 kB / 0.9555 GB, free: 14.08 MB / 0.9167 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 6.984e-05/0.007956, allocations: 125.8 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.007967, allocations: 7.953 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.00799, allocations: 8.438 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007992, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.007998, allocations: 3.984 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008001, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.008317, allocations: 349.5 kB / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.008318, allocations: 0 / 0.956 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.00834, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.008341, allocations: 4 kB / 0.956 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.008354, allocations: 7.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008355, allocations: 0 / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.008357, allocations: 3.984 kB / 0.956 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.008526, allocations: 219.3 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.008535, allocations: 7.938 kB / 0.9563 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.008551, allocations: 8 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.008592, allocations: 0 / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.008629, allocations: 7.984 kB / 0.9563 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.008636, allocations: 7.938 kB / 0.9563 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.008675, allocations: 102.3 kB / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008675, allocations: 0 / 0.9564 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002196/0.008894, allocations: 43.86 kB / 0.9564 GB, free: 13.11 MB / 0.9167 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.0005869/0.009481, allocations: 0.8104 MB / 0.9572 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.009645, allocations: 72.2 kB / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009646, allocations: 0 / 0.9573 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.674e-05/0.009703, allocations: 36.08 kB / 0.9573 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.009902, allocations: 17.78 kB / 0.9573 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.01105, allocations: 1.49 MB / 0.9588 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.01109, allocations: 75.27 kB / 0.9589 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.01113, allocations: 7.984 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.01117, allocations: 20.5 kB / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01117, allocations: 0 / 0.9589 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.02946, allocations: 3.391 MB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/6.993, allocations: 6.156 kB / 0.9622 GB, free: 7.207 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_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_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.209506353363395]