Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008508/0.008508, allocations: 98.12 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002295/0.002295, allocations: 195.2 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 59.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8671, allocations: 159.1 MB / 1.22 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00274/0.8699, allocations: 1.503 MB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.8712, allocations: 0.7293 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.8712, allocations: 4 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.258e-05/0.8713, allocations: 3.938 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.8713, allocations: 11.86 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.8719, allocations: 115.6 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.872, allocations: 79.77 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.8721, allocations: 19.92 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.8722, allocations: 35.84 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.8723, allocations: 47.83 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.8723, allocations: 8 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.8725, allocations: 91.91 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.8726, allocations: 15.92 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.8726, allocations: 35.8 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.8729, allocations: 138.3 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8729, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8729, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.8729, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 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.0006731/0.8736, allocations: 425.7 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8736, allocations: 8.031 kB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.8737, allocations: 38.75 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.8737, allocations: 8.875 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8739, allocations: 172.3 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.8739, allocations: 8.312 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.8739, allocations: 8.375 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.8741, allocations: 69.78 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8741, allocations: 4 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8741, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8741, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.8743, allocations: 35.97 kB / 1.224 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000592/0.8749, allocations: 312.7 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.875, allocations: 58.48 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.8751, allocations: 32.97 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.8751, allocations: 3.938 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.8753, allocations: 79.44 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.8753, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004046/0.8758, allocations: 141.5 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.8758, allocations: 59.41 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.8759, allocations: 121.8 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.876, allocations: 33.64 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.876, allocations: 84.14 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.8761, allocations: 19.89 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.8761, allocations: 25.72 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8763, allocations: 326.8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.093e-05/0.8764, allocations: 23.98 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.8765, allocations: 50.55 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.8766, allocations: 66.5 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8767, allocations: 4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002487/0.8769, allocations: 117.5 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8769, allocations: 8 kB / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8769, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.877, allocations: 0 / 1.225 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.8771, allocations: 11.98 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8771, allocations: 4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.8771, allocations: 15.92 kB / 1.225 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.8772, allocations: 4 kB / 1.225 GB, free: 12.65 MB / 0.9512 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 0.0001004/0.8773, allocations: 125.8 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.8773, allocations: 7.953 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.8773, allocations: 12.31 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8773, allocations: 0 / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8773, allocations: 3.984 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8773, allocations: 4 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.8779, allocations: 390.4 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8779, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.8779, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8779, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.8779, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8779, allocations: 4.406 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8779, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.8782, allocations: 211.5 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.8783, allocations: 81.06 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.8783, allocations: 4 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.8784, allocations: 11.92 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.8785, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.8785, allocations: 7.969 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.8786, allocations: 95.88 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8786, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002896/0.8788, allocations: 43.86 kB / 1.226 GB, free: 11.55 MB / 0.9512 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.0008952/0.8798, allocations: 0.8019 MB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.88, allocations: 75.89 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.88, allocations: 3.938 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.8801, allocations: 35.97 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.8804, allocations: 11.94 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.8821, allocations: 1.488 MB / 1.229 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.8825, allocations: 0.6846 MB / 1.229 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.8825, allocations: 4 kB / 1.229 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.8826, allocations: 27.36 kB / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/0.8826, allocations: 0 / 1.229 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.9084, allocations: 2.652 MB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.767, allocations: 13.73 kB / 1.232 GB, free: 5.77 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! " 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