Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_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.006265/0.006265, allocations: 100.2 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.001683/0.001683, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.252/1.252, 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.342/2.342, allocations: 437.1 MB / 0.7106 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6473, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002568/0.6499, allocations: 1.509 MB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.6512, allocations: 0.7245 MB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.497e-05/0.6513, allocations: 0 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.6513, allocations: 3.938 kB / 1.168 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.308e-05/0.6514, allocations: 11.86 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.6519, allocations: 131.6 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.652, allocations: 79.7 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.6521, allocations: 8 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.6522, allocations: 39.89 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.6523, allocations: 31.84 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.6523, allocations: 8 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.6525, allocations: 99.84 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.6526, allocations: 19.91 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.6526, allocations: 35.86 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.6529, allocations: 143.2 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6529, allocations: 0 / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6529, allocations: 0 / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6529, allocations: 0 / 1.169 GB, free: 0.9062 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.000616/0.6535, allocations: 424.7 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6536, allocations: 8.922 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.6536, allocations: 42.69 kB / 1.169 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.6536, allocations: 8.891 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6538, allocations: 176.3 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6538, allocations: 384 / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6538, allocations: 4.375 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.654, allocations: 73.78 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.654, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.654, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.654, allocations: 0 / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.6542, allocations: 47.83 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.6547, allocations: 320.7 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.6549, allocations: 42.56 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.655, allocations: 36.95 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.655, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.6552, allocations: 87.31 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.6552, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003658/0.6556, allocations: 133.7 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.6556, allocations: 55.41 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.6557, allocations: 125.8 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.6557, allocations: 25.7 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.6558, allocations: 92.09 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.6558, allocations: 15.91 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.6559, allocations: 29.7 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.656, allocations: 326.8 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.6561, allocations: 19.98 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.372e-05/0.6562, allocations: 50.5 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.6564, allocations: 78.84 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6564, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.6566, allocations: 113.5 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6566, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.6566, allocations: 64 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6566, allocations: 8 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.6567, allocations: 15.92 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.6568, allocations: 0 / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.6568, allocations: 11.88 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.6569, allocations: 15.92 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 8.91e-05/0.6569, allocations: 117.8 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.657, allocations: 7.953 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.657, allocations: 12.38 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.657, allocations: 3.984 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.657, allocations: 4 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.657, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.6575, allocations: 382.4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6575, allocations: 0 / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.6575, allocations: 11.98 kB / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6575, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.6576, allocations: 0 / 1.172 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.6576, allocations: 7.938 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6576, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.6579, allocations: 215.4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.592e-05/0.6579, allocations: 81.06 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.6579, allocations: 4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.658, allocations: 3.938 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.6581, allocations: 15.98 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.6581, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.264e-05/0.6581, allocations: 91.27 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6581, allocations: 0 / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002707/0.6584, allocations: 43.86 kB / 1.172 GB, free: 13.22 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.0007891/0.6592, allocations: 0.8066 MB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.6594, allocations: 76.25 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6595, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.6596, allocations: 35.92 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6598, allocations: 16.8 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.6614, allocations: 1.488 MB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.6617, allocations: 0.6924 MB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.6617, allocations: 4 kB / 1.175 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.6618, allocations: 19.42 kB / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6618, allocations: 0 / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/1.73, allocations: 2.64 MB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.27/21, allocations: 23.36 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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