Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.004536/0.004536, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.0009974/0.0009974, allocations: 195.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.395/1.395, 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 9.1.3-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8424/0.8437, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002353/0.8461, allocations: 1.494 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.8472, allocations: 0.7282 MB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.8473, allocations: 0 / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.8473, allocations: 10.11 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.8474, allocations: 14.19 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.8479, allocations: 121.7 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.848, allocations: 72.56 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.887e-05/0.8481, allocations: 11.25 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.8482, allocations: 38.77 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.8483, allocations: 36.84 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.8483, allocations: 7.281 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.8485, allocations: 95.67 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.8486, allocations: 17.02 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.8486, allocations: 36.48 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.8489, allocations: 144.7 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8489, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8489, allocations: 0 / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.8489, allocations: 1.094 kB / 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.0005858/0.8495, allocations: 422.6 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8496, allocations: 9.156 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.8496, allocations: 37.08 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.8497, allocations: 9.734 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.066e-05/0.8497, allocations: 169.6 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.8498, allocations: 2.438 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.8498, allocations: 4.328 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.85, allocations: 77.16 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.85, allocations: 4.781 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.85, allocations: 4 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.85, allocations: 5.344 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.8502, allocations: 35.58 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.8507, allocations: 318.9 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.8509, allocations: 53.75 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.24e-05/0.8509, allocations: 32.52 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.851, allocations: 0.7969 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.8512, allocations: 81.61 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8512, allocations: 0 / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.8516, allocations: 140.8 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.8516, allocations: 63.25 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.232e-05/0.8517, allocations: 122.4 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8517, allocations: 26.55 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.8518, allocations: 92.77 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.8518, allocations: 16.25 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.8518, allocations: 33 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.8519, allocations: 323.6 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.852, allocations: 27.06 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.8521, allocations: 46.77 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.8522, allocations: 72.06 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8523, allocations: 0.7812 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002372/0.8525, allocations: 111.9 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8525, allocations: 6.328 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.8525, allocations: 1.094 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8525, allocations: 1.25 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.8527, allocations: 11.11 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.8527, allocations: 1.531 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.8527, allocations: 17.05 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.8528, allocations: 4.328 kB / 1.092 GB, free: 1.445 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 6.601e-05/0.8528, allocations: 127.4 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.8529, allocations: 7.188 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.8529, allocations: 10.62 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8529, allocations: 1.797 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8529, allocations: 0.5312 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8529, allocations: 1.547 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.8533, allocations: 378.4 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8533, allocations: 0.5625 kB / 1.093 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.8534, allocations: 9.125 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8534, allocations: 0.7812 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.8534, allocations: 6.281 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8534, allocations: 4.781 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8534, allocations: 0 / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.8537, allocations: 211.9 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.8537, allocations: 83.33 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.8537, allocations: 2.406 kB / 1.093 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.8538, allocations: 11.53 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.8538, allocations: 9.484 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.8539, allocations: 3.438 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.8539, allocations: 96.62 kB / 1.093 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8539, allocations: 3.938 kB / 1.093 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003102/0.8542, allocations: 42.19 kB / 1.093 GB, free: 0.5859 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.0006967/0.8549, allocations: 0.8062 MB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.8552, allocations: 76.39 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8552, allocations: 0.875 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8553, allocations: 32.05 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.8556, allocations: 13.83 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.8572, allocations: 1.492 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.8575, allocations: 0.688 MB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.338e-05/0.8576, allocations: 9.203 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.8576, allocations: 19.94 kB / 1.097 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.8576, allocations: 4 kB / 1.097 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.001/2.859, allocations: 2.639 MB / 1.099 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/15.56, allocations: 5.031 kB / 1.099 GB, free: 13.33 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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