Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.005053/0.005053, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.494/2.494, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 71.89 kB / 1.018 GB, free: 9.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9247/0.9272, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002648/0.9298, allocations: 1.527 MB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.9311, allocations: 0.7557 MB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.9312, allocations: 4 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.9312, allocations: 3.938 kB / 1.168 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.9313, allocations: 15.86 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.9319, allocations: 135.6 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.932, allocations: 99.7 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.9321, allocations: 15.98 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.331e-05/0.9322, allocations: 51.83 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.9323, allocations: 55.81 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.9324, allocations: 8 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.9326, allocations: 91.91 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.9326, allocations: 27.91 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.9327, allocations: 43.78 kB / 1.169 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.9329, allocations: 169.8 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9329, allocations: 0 / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9329, allocations: 3.938 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.9329, allocations: 0 / 1.169 GB, free: 0.7812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006665/0.9336, allocations: 458.5 kB / 1.169 GB, free: 280 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.9337, allocations: 8.922 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.9337, allocations: 38.73 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.9338, allocations: 8.844 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.9339, allocations: 173.9 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.9339, allocations: 8.422 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.934, allocations: 8.312 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.9342, allocations: 89.7 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.9342, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9342, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.9343, allocations: 3.984 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.9344, allocations: 43.97 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.9352, allocations: 348.7 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.9353, allocations: 50.56 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.9355, allocations: 48.77 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.9355, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.9357, allocations: 95.36 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.512e-06/0.9358, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005106/0.9363, allocations: 189.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.9363, allocations: 51.41 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/0.9364, allocations: 130.7 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.9365, allocations: 29.7 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.9365, allocations: 88.14 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.9365, allocations: 19.75 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.9366, allocations: 33.7 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.9367, allocations: 322.8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.9368, allocations: 31.98 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.9369, allocations: 68.27 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.9371, allocations: 96.14 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9371, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002412/0.9373, allocations: 121.6 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9374, allocations: 16.02 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9374, allocations: 0 / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9374, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9375, allocations: 15.98 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.9375, allocations: 11.98 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.175e-05/0.9376, allocations: 7.984 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.9376, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001021/0.9377, allocations: 129.7 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.9378, allocations: 11.89 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.9378, allocations: 12.38 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9378, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.9378, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9378, allocations: 3.938 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.9384, allocations: 426.6 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9384, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.9384, allocations: 11.98 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9384, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.9385, allocations: 0 / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9385, allocations: 4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9385, allocations: 7.953 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.9388, allocations: 243.3 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.9389, allocations: 85.02 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.9389, allocations: 7.984 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.939, allocations: 8 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.9391, allocations: 11.92 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.9391, allocations: 4 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.9391, allocations: 92.64 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9391, allocations: 0 / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003004/0.9395, allocations: 43.98 kB / 1.173 GB, free: 12.75 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008695/0.9403, allocations: 0.837 MB / 1.173 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.9406, allocations: 91.89 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9406, allocations: 0 / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.9408, allocations: 51.97 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.941, allocations: 18.36 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.9428, allocations: 1.573 MB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.9432, allocations: 0.6885 MB / 1.176 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.9432, allocations: 19.86 kB / 1.176 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.9433, allocations: 23.42 kB / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9433, allocations: 0 / 1.176 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.9637, allocations: 2.984 MB / 1.179 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.915, allocations: 12.67 kB / 1.179 GB, free: 6.438 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,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.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed