Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001443/0.001443, allocations: 109 kB / 17.54 MB, free: 4.746 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.00148/0.00148, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.176 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.493/2.493, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.772/0.7739, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002222/0.7761, allocations: 1.527 MB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.7772, allocations: 0.7476 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.7772, allocations: 0.7812 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.7772, allocations: 4.688 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.7773, allocations: 10.61 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.7777, allocations: 125.2 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.7778, allocations: 76.31 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.603e-05/0.7779, allocations: 14.98 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.778, allocations: 34.56 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.778, allocations: 44.73 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.778, allocations: 6.094 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.7782, allocations: 104.8 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.7782, allocations: 19.56 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.7783, allocations: 35.59 kB / 1.274 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.7785, allocations: 137.5 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7785, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7785, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7785, allocations: 0.8125 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.000482/0.779, allocations: 423 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.779, allocations: 9.688 kB / 1.275 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.779, allocations: 38.3 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.7791, allocations: 8.172 kB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.603e-05/0.7791, allocations: 173.6 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7792, allocations: 4.859 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.7792, allocations: 3.969 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.7793, allocations: 71.48 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7793, allocations: 0 / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7793, allocations: 5.594 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.7793, allocations: 4.75 kB / 1.275 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.7795, allocations: 37.66 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.7799, allocations: 316.2 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.78, allocations: 52.61 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.7801, allocations: 30.33 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.7801, allocations: 1.781 kB / 1.275 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.7803, allocations: 78 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.7803, allocations: 3.984 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003593/0.7806, allocations: 141.4 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.7807, allocations: 53.59 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.7807, allocations: 127.3 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.7807, allocations: 30.48 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.7808, allocations: 91.94 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.7808, allocations: 11.83 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.7808, allocations: 30.55 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.7809, allocations: 323.2 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.781, allocations: 31.08 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.781, allocations: 46.28 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.7812, allocations: 80.06 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7812, allocations: 1.406 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002128/0.7814, allocations: 112.1 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7814, allocations: 5.719 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7814, allocations: 1.375 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7814, allocations: 2.359 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.461e-05/0.7815, allocations: 14.09 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7815, allocations: 6.781 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.7816, allocations: 7.75 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.7816, allocations: 5.047 kB / 1.276 GB, free: 3.875 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.648e-05/0.7816, allocations: 127.1 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.7817, allocations: 8.266 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.7817, allocations: 10.47 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7817, allocations: 0.9375 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7817, allocations: 0 / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7817, allocations: 1.5 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.782, allocations: 389.8 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.782, allocations: 0.8438 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.7821, allocations: 7.188 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.7821, allocations: 0.9688 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.7821, allocations: 0.9062 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7821, allocations: 3.938 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7821, allocations: 0.8438 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.7823, allocations: 213 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.7823, allocations: 79.23 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.7823, allocations: 0.8125 kB / 1.277 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.7824, allocations: 9.75 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.7825, allocations: 4.344 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.7825, allocations: 7.172 kB / 1.277 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.7825, allocations: 96.45 kB / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7825, allocations: 0 / 1.277 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002769/0.7828, allocations: 45.2 kB / 1.277 GB, free: 3.02 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.0006135/0.7834, allocations: 0.8052 MB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.7836, allocations: 75.09 kB / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.7836, allocations: 0 / 1.278 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.7837, allocations: 30.39 kB / 1.278 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.7839, allocations: 18.05 kB / 1.278 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.7853, allocations: 1.505 MB / 1.28 GB, free: 16.93 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.7855, allocations: 0.6934 MB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.7856, allocations: 6.5 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.7856, allocations: 19.58 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.7856, allocations: 4 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.8102, allocations: 2.648 MB / 1.283 GB, free: 15.71 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.842, allocations: 6.375 kB / 1.283 GB, free: 15.7 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_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.253951760998461]