Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_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.001443/0.001444, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 66.73 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2343, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002407/0.2368, allocations: 1.516 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2379, allocations: 0.7574 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.238, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.238, allocations: 11.88 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.238, allocations: 15.86 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.2385, allocations: 135.5 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2386, allocations: 95.81 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.2387, allocations: 12 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.2388, allocations: 59.77 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.2389, allocations: 51.81 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.2389, allocations: 8 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.2391, allocations: 91.91 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.2391, allocations: 27.95 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.166e-05/0.2392, allocations: 39.8 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.2394, allocations: 171.8 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2394, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2394, allocations: 4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2394, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 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.0006089/0.2401, allocations: 462.5 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2401, allocations: 8.031 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.2401, allocations: 38.73 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2402, allocations: 4.938 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2403, allocations: 172.3 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.2403, allocations: 4.375 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2403, allocations: 8.375 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.2406, allocations: 93.69 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2406, allocations: 0 / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.2406, allocations: 7.938 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2406, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.2408, allocations: 47.95 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.2415, allocations: 356.5 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.2416, allocations: 58.55 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.2417, allocations: 44.83 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2418, allocations: 4 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001948/0.242, allocations: 91.36 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.242, allocations: 4 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004767/0.2425, allocations: 181.5 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2425, allocations: 55.39 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.508e-05/0.2426, allocations: 119.1 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2426, allocations: 33.7 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.2427, allocations: 104.2 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2427, allocations: 11.81 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.2428, allocations: 33.7 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2429, allocations: 322.8 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.243, allocations: 27.98 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2431, allocations: 65.02 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2433, allocations: 104.1 kB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2433, allocations: 4 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002467/0.2435, allocations: 125.6 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.2436, allocations: 8 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2436, allocations: 0 / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2436, allocations: 4 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.2437, allocations: 15.92 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2437, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.2438, allocations: 11.92 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2438, allocations: 4 kB / 1.07 GB, free: 8.34 MB / 0.8262 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 9.382e-05/0.2439, allocations: 127.2 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.2439, allocations: 7.906 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.2439, allocations: 16.36 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2439, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.244, allocations: 3.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.244, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.2445, allocations: 426.3 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2445, allocations: 7.938 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.2446, allocations: 4 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2446, allocations: 0 / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.2446, allocations: 3.984 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2446, allocations: 4 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2446, allocations: 3.984 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.245, allocations: 247.3 kB / 1.07 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.245, allocations: 85.05 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.245, allocations: 0 / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2451, allocations: 15.92 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.2452, allocations: 11.92 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2452, allocations: 0 / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.2453, allocations: 96.27 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2453, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002656/0.2455, allocations: 43.98 kB / 1.071 GB, free: 7.16 MB / 0.8262 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.0008435/0.2464, allocations: 0.8358 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.2467, allocations: 99.88 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2467, allocations: 4 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.2468, allocations: 47.91 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.247, allocations: 15.92 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2487, allocations: 1.568 MB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2489, allocations: 0.6922 MB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.249, allocations: 7.984 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.249, allocations: 31.36 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.249, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.143/4.392, allocations: 2.943 MB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.68/23.08, allocations: 4.062 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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