Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Zhang2012WindowsEast,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.00626/0.00626, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001732/0.001732, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.321/2.321, allocations: 437.1 MB / 0.7106 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 68.11 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5986, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002367/0.601, allocations: 1.516 MB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.6021, allocations: 0.7206 MB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.6022, allocations: 0 / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.6022, allocations: 3.938 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.6023, allocations: 23.84 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.6027, allocations: 119.6 kB / 1.168 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.6028, allocations: 79.7 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.311e-05/0.6029, allocations: 11.98 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.677e-05/0.603, allocations: 35.91 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.6031, allocations: 35.84 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.6031, allocations: 8 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.6033, allocations: 99.84 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.6033, allocations: 15.98 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.6034, allocations: 31.78 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.6036, allocations: 142.3 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6036, allocations: 3.984 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6036, allocations: 3.938 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.6036, allocations: 0 / 1.169 GB, free: 0.8906 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.000566/0.6042, allocations: 421.7 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6042, allocations: 16.92 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.6042, allocations: 34.69 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.6043, allocations: 12.88 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.6044, allocations: 172.3 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6044, allocations: 384 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.6045, allocations: 4.375 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.6046, allocations: 73.78 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6046, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.6046, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.6047, allocations: 4 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.6048, allocations: 39.91 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.6053, allocations: 320.7 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6055, allocations: 46.55 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.538e-05/0.6056, allocations: 36.97 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6056, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.6058, allocations: 83.25 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.6058, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003697/0.6061, allocations: 133.6 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.6062, allocations: 63.47 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.6063, allocations: 121.8 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.6063, allocations: 29.7 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.6064, allocations: 92.09 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.6064, allocations: 15.89 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.6065, allocations: 25.72 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6066, allocations: 322.8 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.6067, allocations: 27.98 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.423e-05/0.6068, allocations: 54.48 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.6069, allocations: 66.56 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6069, allocations: 3.984 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.6072, allocations: 113.6 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.6072, allocations: 4 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6072, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6072, allocations: 7.984 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.6073, allocations: 11.94 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.6073, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.6074, allocations: 11.92 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6074, allocations: 8 kB / 1.171 GB, free: 14.3 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.015e-05/0.6075, allocations: 121.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.6075, allocations: 11.94 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.6075, allocations: 12.31 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6076, allocations: 11.92 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6076, allocations: 4 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.6076, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.608, allocations: 382.8 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.608, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.6081, allocations: 8 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6081, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.6081, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6081, allocations: 4.016 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.6081, allocations: 11.97 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.6084, allocations: 203.5 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.6084, allocations: 85.06 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.6085, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.6086, allocations: 11.92 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.6086, allocations: 7.984 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.6086, allocations: 7.984 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.6087, allocations: 87.28 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6087, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002623/0.6089, allocations: 43.86 kB / 1.172 GB, free: 13.21 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.0007542/0.6097, allocations: 0.8071 MB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.6099, allocations: 68.03 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6099, allocations: 4.062 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.856e-05/0.61, allocations: 43.84 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.6103, allocations: 11.94 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.6118, allocations: 1.485 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.6121, allocations: 0.6906 MB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.6121, allocations: 4 kB / 1.175 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.6122, allocations: 23.42 kB / 1.175 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.6122, allocations: 3.938 kB / 1.175 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/1.196, allocations: 2.639 MB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.17, allocations: 8.562 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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