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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 202.8 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.91 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.93/0.932, allocations: 168.7 MB / 1.274 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003069/0.9351, allocations: 1.541 MB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.9366, allocations: 0.7573 MB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.9367, allocations: 3.938 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.9367, allocations: 7.938 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.9368, allocations: 15.86 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.9374, allocations: 135.6 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.9375, allocations: 103.7 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.9376, allocations: 11.78 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.9377, allocations: 43.91 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.9378, allocations: 55.8 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.9378, allocations: 8 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.9382, allocations: 111.8 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.9382, allocations: 31.89 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.9383, allocations: 35.8 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.9385, allocations: 166.4 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.9385, allocations: 3.938 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9385, allocations: 0 / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9386, allocations: 0 / 1.277 GB, free: 1.383 MB / 0.9669 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.0007697/0.9393, allocations: 458.4 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.9394, allocations: 12.03 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.9394, allocations: 16.89 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.9396, allocations: 180.2 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.9396, allocations: 4.375 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.9396, allocations: 4.375 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.9399, allocations: 97.81 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9399, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.9399, allocations: 3.938 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.9399, allocations: 4 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.9401, allocations: 47.97 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/0.9408, allocations: 332.7 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.941, allocations: 62.56 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.9411, allocations: 36.89 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.9412, allocations: 12.08 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.9414, allocations: 91.36 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.9414, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.942, allocations: 185.5 kB / 1.278 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.942, allocations: 51.41 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.9422, allocations: 133.8 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.9423, allocations: 25.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.9423, allocations: 96.12 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.9424, allocations: 19.83 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.9424, allocations: 33.7 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9426, allocations: 322.8 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.9427, allocations: 27.98 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.9428, allocations: 72.89 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.943, allocations: 92.22 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.943, allocations: 0 / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002749/0.9432, allocations: 129.5 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.9433, allocations: 8 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9433, allocations: 0 / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9433, allocations: 4 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9434, allocations: 11.98 kB / 1.279 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9434, allocations: 12.03 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.712e-05/0.9435, allocations: 7.953 kB / 1.279 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.9435, allocations: 11.98 kB / 1.279 GB, free: 14.56 MB / 0.9825 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.0001097/0.9436, allocations: 121.7 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.9436, allocations: 7.953 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.9437, allocations: 12.38 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9437, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9437, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9437, allocations: 3.984 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006159/0.9443, allocations: 426.8 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9443, allocations: 3.938 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.9443, allocations: 7.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.9443, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.9443, allocations: 3.984 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.9443, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.9443, allocations: 8.016 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.9448, allocations: 247.3 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.9448, allocations: 85.06 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.9448, allocations: 4 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.9449, allocations: 7.984 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.945, allocations: 7.938 kB / 1.28 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.945, allocations: 11.98 kB / 1.28 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.948e-05/0.9451, allocations: 96.14 kB / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9451, allocations: 0 / 1.28 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003117/0.9454, allocations: 39.94 kB / 1.281 GB, free: 13.38 MB / 0.9825 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.0003696/0.9458, allocations: 159.2 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.9461, allocations: 91.88 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9461, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.9462, allocations: 43.91 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.9465, allocations: 11.94 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.947, allocations: 224.1 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.9474, allocations: 0.6885 MB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.9475, allocations: 7.984 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.9475, allocations: 11.44 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.9475, allocations: 0 / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Templates: time 0.00559/0.9531, allocations: 1.768 MB / 1.283 GB, free: 10.35 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.12111106980592]