Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001759/0.00176, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002718/0.002718, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.624/2.624, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.109/5.109, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 66.45 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5282, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.008969/0.5372, allocations: 1.576 MB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.5395, allocations: 0.7205 MB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.5396, allocations: 11.94 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.5397, allocations: 3.938 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.294e-05/0.5398, allocations: 7.922 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007811/0.5406, allocations: 107.8 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.5407, allocations: 75.83 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.5409, allocations: 4 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.541, allocations: 35.91 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.5411, allocations: 43.83 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.5412, allocations: 8 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.5415, allocations: 95.84 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.035e-05/0.5415, allocations: 15.92 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.5416, allocations: 35.84 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.542, allocations: 143.9 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.542, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.192e-06/0.542, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.5421, allocations: 3.938 kB / 1.055 GB, free: 5.77 MB / 0.8106 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.0009322/0.543, allocations: 417 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.5431, allocations: 8.625 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.5432, allocations: 38.75 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.5432, allocations: 4.844 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.5434, allocations: 176.2 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.5435, allocations: 4.375 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.5435, allocations: 8.375 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.5438, allocations: 69.78 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.5439, allocations: 7.984 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.5439, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.5439, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.5441, allocations: 43.84 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009529/0.5451, allocations: 312.8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.5453, allocations: 50.56 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.5455, allocations: 36.95 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.5456, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.5459, allocations: 83.25 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.5459, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006712/0.5466, allocations: 137.5 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.5467, allocations: 59.48 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5469, allocations: 113.8 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.5469, allocations: 33.69 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.547, allocations: 92.03 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.5471, allocations: 15.84 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.5472, allocations: 29.7 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.5474, allocations: 330.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.5475, allocations: 23.92 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.5477, allocations: 46.56 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.5481, allocations: 74.86 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5481, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004543/0.5485, allocations: 117.5 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5486, allocations: 4 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5486, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5486, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.5488, allocations: 19.92 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.5488, allocations: 0 / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.5489, allocations: 15.91 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.549, allocations: 8 kB / 1.057 GB, free: 3.18 MB / 0.8106 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.0001486/0.5491, allocations: 123.3 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.5492, allocations: 7.906 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.5492, allocations: 8.375 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5493, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5493, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5493, allocations: 4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.5501, allocations: 386.3 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5501, allocations: 0 / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.332e-05/0.5502, allocations: 11.98 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5502, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5502, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.5502, allocations: 3.938 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5503, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.5508, allocations: 219.3 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.5509, allocations: 77.11 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.5509, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5511, allocations: 7.938 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.5511, allocations: 7.984 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.5512, allocations: 4 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.613e-05/0.5513, allocations: 91.92 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5513, allocations: 3.938 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005662/0.5519, allocations: 47.89 kB / 1.058 GB, free: 2.09 MB / 0.8106 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.001327/0.5532, allocations: 0.7937 MB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008609/0.5618, allocations: 76.14 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.5619, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5621, allocations: 31.98 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.5626, allocations: 16.23 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.5656, allocations: 1.499 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.566, allocations: 0.6976 MB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.757e-05/0.5661, allocations: 4 kB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.5662, allocations: 19.42 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/0.5662, allocations: 4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0674/0.6336, allocations: 2.49 MB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004272/0.6341, allocations: 260.1 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.836/4.47, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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