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.00763/0.00763, allocations: 102.9 kB / 15.74 MB, free: 6.07 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.002138/0.002138, allocations: 196.7 kB / 16.68 MB, free: 5.977 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.537/2.537, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7405, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002785/0.7433, allocations: 1.507 MB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.7446, allocations: 0.7206 MB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.7447, allocations: 8 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.7448, allocations: 3.938 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.7448, allocations: 7.875 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.7454, allocations: 127.6 kB / 1.168 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.7455, allocations: 75.7 kB / 1.169 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.7456, allocations: 12 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.7457, allocations: 39.89 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.7458, allocations: 35.84 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.7458, allocations: 8 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.746, allocations: 95.84 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.7461, allocations: 19.97 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.7461, allocations: 31.8 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.7464, allocations: 139.3 kB / 1.169 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7464, allocations: 4 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7464, allocations: 0 / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.7464, allocations: 0 / 1.169 GB, free: 0.9336 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.0006294/0.747, allocations: 428.7 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.7471, allocations: 8.922 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.7471, allocations: 34.69 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.7471, allocations: 8.891 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7473, allocations: 172.3 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.7473, allocations: 8.375 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.7473, allocations: 4.375 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.7475, allocations: 73.77 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7476, allocations: 4 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7476, allocations: 4 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.7476, allocations: 3.938 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.7477, allocations: 39.91 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.7483, allocations: 316.7 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.7485, allocations: 50.56 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.467e-05/0.7486, allocations: 32.95 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.7486, allocations: 4 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.7488, allocations: 79.25 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7488, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004118/0.7493, allocations: 149.6 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.7493, allocations: 51.41 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.7494, allocations: 121.8 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.7494, allocations: 29.7 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.7495, allocations: 92.09 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.7495, allocations: 15.91 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.7496, allocations: 29.7 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.7497, allocations: 322.8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.7498, allocations: 27.98 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.7499, allocations: 50.5 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.7501, allocations: 66.55 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7501, allocations: 4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.7504, allocations: 117.5 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7504, allocations: 8 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7504, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7504, allocations: 0 / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.632e-05/0.7505, allocations: 15.92 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.7505, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/0.7506, allocations: 7.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.7506, allocations: 12.05 kB / 1.171 GB, free: 14.33 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 0.0001001/0.7507, allocations: 121.8 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.7508, allocations: 3.953 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.7508, allocations: 8.375 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7508, allocations: 3.938 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7508, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7508, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.7513, allocations: 386.4 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7513, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.7514, allocations: 7.984 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7514, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.7514, allocations: 0 / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.7514, allocations: 3.938 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.7514, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.7517, allocations: 219.4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.7518, allocations: 85 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.7518, allocations: 0 / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.7519, allocations: 11.92 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.752, allocations: 11.98 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.752, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.768e-05/0.7521, allocations: 95.27 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7521, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003365/0.7524, allocations: 43.86 kB / 1.172 GB, free: 13.24 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.0008519/0.7533, allocations: 0.8024 MB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.7535, allocations: 75.94 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7535, allocations: 0 / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.7536, allocations: 39.86 kB / 1.173 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.7539, allocations: 11.92 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.7557, allocations: 1.489 MB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.756, allocations: 0.6906 MB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.7561, allocations: 4 kB / 1.175 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.7561, allocations: 23.42 kB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.7561, allocations: 7.938 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.78, allocations: 2.638 MB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.693, allocations: 8.562 kB / 1.178 GB, free: 7.461 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