Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_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.009694/0.009695, allocations: 100.6 kB / 15.73 MB, free: 5.98 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.002275/0.002276, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8699/0.8712, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002999/0.8742, allocations: 1.501 MB / 1.089 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.8756, allocations: 0.728 MB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.8757, allocations: 4 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.8758, allocations: 5.062 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.896e-05/0.8758, allocations: 11.17 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.8765, allocations: 121 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.8766, allocations: 80.62 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.8768, allocations: 8.578 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.8769, allocations: 34.72 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.877, allocations: 45.23 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.877, allocations: 6.531 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.8772, allocations: 94.17 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.8773, allocations: 19.94 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.8773, allocations: 30.53 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.8776, allocations: 148.8 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8777, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8777, allocations: 2.203 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8777, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 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.0006987/0.8784, allocations: 421.5 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.8784, allocations: 10.16 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.8785, allocations: 37.23 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.8785, allocations: 7.906 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8786, allocations: 170.3 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.8787, allocations: 3.094 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.8787, allocations: 9.484 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.8789, allocations: 71.92 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.8789, allocations: 4 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.8789, allocations: 0.7031 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.879, allocations: 1.188 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.8791, allocations: 36.27 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.8797, allocations: 318 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.8799, allocations: 54.41 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.715e-05/0.88, allocations: 35.28 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.8801, allocations: 2.078 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.8803, allocations: 76.83 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.8804, allocations: 0.7812 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004749/0.8808, allocations: 137.1 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.8809, allocations: 58.23 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.881, allocations: 122.9 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.881, allocations: 26.73 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.8811, allocations: 93.41 kB / 1.092 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.8811, allocations: 19.25 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.8812, allocations: 32.95 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.8813, allocations: 323.5 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.8814, allocations: 27.62 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.825e-05/0.8815, allocations: 50.22 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.8817, allocations: 72.75 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8817, allocations: 4 kB / 1.092 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.8819, allocations: 108.8 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.882, allocations: 5.281 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.882, allocations: 1.797 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.882, allocations: 1.094 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.8821, allocations: 14.91 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.8821, allocations: 6.906 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.8822, allocations: 16.2 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.8822, allocations: 7.922 kB / 1.092 GB, free: 1.441 MB / 0.8575 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 8.605e-05/0.8823, allocations: 125 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.8823, allocations: 7.312 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.8824, allocations: 10.25 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8824, allocations: 2.094 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8824, allocations: 0.6562 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8824, allocations: 0.5625 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.8828, allocations: 383.1 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8829, allocations: 0 / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.8829, allocations: 5.406 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8829, allocations: 0 / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.8829, allocations: 11.19 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8829, allocations: 3.938 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8829, allocations: 1 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.8832, allocations: 211.4 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.8833, allocations: 83.7 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.8833, allocations: 2.266 kB / 1.093 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.8834, allocations: 12.28 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.8834, allocations: 4.422 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.8835, allocations: 3.484 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.8835, allocations: 91.67 kB / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8835, allocations: 0 / 1.093 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003408/0.8839, allocations: 42.72 kB / 1.093 GB, free: 0.5938 MB / 0.8575 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.0008582/0.8847, allocations: 0.8077 MB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.885, allocations: 75.94 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.885, allocations: 0 / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.8851, allocations: 34.64 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.8854, allocations: 12.52 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.8872, allocations: 1.498 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.8875, allocations: 0.6867 MB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.8876, allocations: 12.42 kB / 1.097 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.8876, allocations: 21.33 kB / 1.097 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.8876, allocations: 4 kB / 1.097 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.9093, allocations: 2.657 MB / 1.099 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/9.277, allocations: 16.16 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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