Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.006372/0.006372, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001691/0.001691, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.291/1.291, 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.281/2.281, allocations: 437.1 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 64.3 kB / 1.018 GB, free: 9.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.739, allocations: 151.6 MB / 1.166 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003079/0.7421, allocations: 1.5 MB / 1.168 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.7435, allocations: 0.7323 MB / 1.168 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.7435, allocations: 4 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.7436, allocations: 7.922 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.7436, allocations: 7.875 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005554/0.7442, allocations: 127.6 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.7443, allocations: 71.72 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.7445, allocations: 19.97 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.7446, allocations: 31.92 kB / 1.169 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.7446, allocations: 39.83 kB / 1.169 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.7447, allocations: 11.98 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.7449, allocations: 91.86 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.7449, allocations: 19.97 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.7449, allocations: 31.8 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.7452, allocations: 138.3 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7452, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7452, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7452, allocations: 0 / 1.169 GB, free: 1.07 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.000671/0.7459, allocations: 429.7 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7459, allocations: 8.922 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.746, allocations: 38.67 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.746, allocations: 8.891 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.7462, allocations: 172.3 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.7462, allocations: 8.375 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.7462, allocations: 4.375 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.7464, allocations: 69.78 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7465, allocations: 0 / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.7465, allocations: 11.98 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7465, allocations: 0 / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.7466, allocations: 31.98 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.7472, allocations: 316.6 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.7474, allocations: 58.5 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.7475, allocations: 32.97 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.7475, allocations: 4 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.7477, allocations: 79.25 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7477, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003971/0.7481, allocations: 145.7 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.7482, allocations: 55.39 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7483, allocations: 117.8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.7483, allocations: 33.7 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.7484, allocations: 92.08 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.7484, allocations: 15.91 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.7485, allocations: 25.7 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7486, allocations: 322.8 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.95e-05/0.7487, allocations: 31.97 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.7488, allocations: 50.5 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.749, allocations: 70.55 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.749, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002258/0.7492, allocations: 117.8 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.7492, allocations: 8 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7493, allocations: 80 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.7493, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.7494, allocations: 11.94 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.7494, allocations: 11.97 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.7494, allocations: 7.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7495, allocations: 4.062 kB / 1.171 GB, free: 14.47 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.0001152/0.7496, allocations: 128 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.7496, allocations: 3.953 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.7496, allocations: 12.36 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7496, allocations: 3.938 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.7496, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.7497, allocations: 3.984 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.7501, allocations: 390.4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7501, allocations: 4 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.7502, allocations: 0 / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.7502, allocations: 4 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.7502, allocations: 3.984 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7502, allocations: 3.938 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.7502, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.7505, allocations: 211.5 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.7506, allocations: 81.06 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.7506, allocations: 3.984 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.7507, allocations: 7.938 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.7507, allocations: 11.92 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.7508, allocations: 0 / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.7508, allocations: 99.92 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7508, allocations: 0 / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002607/0.7511, allocations: 39.88 kB / 1.172 GB, free: 13.38 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.0007747/0.7519, allocations: 0.8043 MB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.7521, allocations: 75.94 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7521, allocations: 0 / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.7522, allocations: 39.86 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.7524, allocations: 8.484 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.7541, allocations: 1.485 MB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.7544, allocations: 0.6923 MB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.7545, allocations: 11.92 kB / 1.175 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.7545, allocations: 19.44 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7545, allocations: 7.938 kB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.13/4.884, allocations: 2.639 MB / 1.178 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/19.33, allocations: 8.531 kB / 1.178 GB, free: 7.594 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed