Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_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.004861/0.004861, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001092/0.001092, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8018, allocations: 151.6 MB / 1.166 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002794/0.8046, allocations: 1.5 MB / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.806, allocations: 0.7284 MB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.8061, allocations: 4 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.8062, allocations: 11.86 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.8062, allocations: 3.938 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.8069, allocations: 127.5 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.807, allocations: 79.77 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.8071, allocations: 15.98 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.8073, allocations: 27.92 kB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.8073, allocations: 43.81 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.8074, allocations: 8 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.8076, allocations: 95.84 kB / 1.169 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.406e-05/0.8076, allocations: 15.98 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.8077, allocations: 31.8 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.808, allocations: 147.7 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.808, allocations: 0 / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.808, allocations: 3.938 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.808, allocations: 0 / 1.169 GB, free: 1.102 MB / 0.8887 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.0006851/0.8087, allocations: 428.6 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8088, allocations: 12.91 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.8088, allocations: 30.75 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.8089, allocations: 8.891 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.809, allocations: 172.3 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.809, allocations: 12.38 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.8091, allocations: 8.359 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.8093, allocations: 65.78 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.8093, allocations: 0 / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.8093, allocations: 8 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.8093, allocations: 3.984 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.8095, allocations: 39.91 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.8101, allocations: 320.6 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.8103, allocations: 50.56 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.8104, allocations: 28.97 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.8104, allocations: 4 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.8106, allocations: 79.31 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8106, allocations: 0 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004148/0.811, allocations: 137.6 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.8111, allocations: 55.39 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.8112, allocations: 117.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8112, allocations: 29.7 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.8113, allocations: 100.1 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.8113, allocations: 19.97 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.8114, allocations: 25.7 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8115, allocations: 318.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.8116, allocations: 35.91 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.836e-05/0.8117, allocations: 42.56 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.8118, allocations: 74.86 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8119, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.8121, allocations: 117.5 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8121, allocations: 8 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8122, allocations: 4 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8122, allocations: 4.062 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.8123, allocations: 15.92 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8123, allocations: 4 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.8124, allocations: 7.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.8124, allocations: 3.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 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 9.175e-05/0.8125, allocations: 123.3 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.8125, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.8125, allocations: 12.38 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8125, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8126, allocations: 3.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8126, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.813, allocations: 386.4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.813, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.8131, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.8131, allocations: 0 / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.8131, allocations: 7.984 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8131, allocations: 3.938 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8131, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.8134, allocations: 207.5 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.8134, allocations: 85.05 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.8135, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.8136, allocations: 7.938 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.8136, allocations: 7.984 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.8136, allocations: 4 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.549e-05/0.8137, allocations: 99.27 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8137, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000337/0.814, allocations: 35.88 kB / 1.172 GB, free: 13.42 MB / 0.9044 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.0008346/0.8149, allocations: 0.8194 MB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.8152, allocations: 68.2 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8152, allocations: 4 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.8153, allocations: 36.12 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.8156, allocations: 16.06 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.8173, allocations: 1.493 MB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.8176, allocations: 0.6907 MB / 1.175 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.8176, allocations: 7.984 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.8177, allocations: 20.69 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.8177, allocations: 0 / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.8393, allocations: 2.641 MB / 1.178 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.225/8.064, allocations: 18.12 kB / 1.178 GB, free: 7.617 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.csv. Warning: Get data of variable win.on from file Buildings_10_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