Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001364/0.001364, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001427/0.001427, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.493/1.493, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 496.2 MB / 0.7819 GB, free: 12.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: 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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.88 kB / 1.136 GB, free: 12.49 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399/1.401, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002549/1.404, allocations: 1.536 MB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001274/1.405, allocations: 0.7692 MB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/1.405, allocations: 4 kB / 1.308 GB, free: 31.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/1.405, allocations: 6.984 kB / 1.308 GB, free: 31.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/1.405, allocations: 10.78 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/1.406, allocations: 137.7 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/1.406, allocations: 99.56 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/1.406, allocations: 16.64 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/1.406, allocations: 46.39 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/1.406, allocations: 55.06 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/1.406, allocations: 12.78 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/1.407, allocations: 106.6 kB / 1.308 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/1.407, allocations: 21.42 kB / 1.308 GB, free: 31.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/1.407, allocations: 50.19 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/1.407, allocations: 157.8 kB / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.407, allocations: 0 / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/1.407, allocations: 0 / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.555e-06/1.407, allocations: 0 / 1.308 GB, free: 31.52 MB / 1.061 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.000795/1.408, allocations: 460.7 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.408, allocations: 12.69 kB / 1.309 GB, free: 31.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/1.408, allocations: 14.03 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.408, allocations: 175.2 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/1.408, allocations: 3.188 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/1.408, allocations: 10.09 kB / 1.309 GB, free: 30.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/1.408, allocations: 92.84 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.408, allocations: 0 / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/1.408, allocations: 0 / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.408, allocations: 2.875 kB / 1.309 GB, free: 30.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/1.409, allocations: 51.42 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007879/1.409, allocations: 339.8 kB / 1.309 GB, free: 30.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/1.41, allocations: 56.83 kB / 1.31 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/1.41, allocations: 40.81 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/1.41, allocations: 4 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/1.41, allocations: 100.3 kB / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/1.41, allocations: 0 / 1.31 GB, free: 30.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005304/1.41, allocations: 189.2 kB / 1.31 GB, free: 30.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.411, allocations: 54.34 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/1.411, allocations: 129.1 kB / 1.31 GB, free: 30.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/1.411, allocations: 25.7 kB / 1.31 GB, free: 30.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/1.411, allocations: 102.3 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/1.411, allocations: 14.69 kB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/1.411, allocations: 32.86 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.022e-05/1.411, allocations: 326.2 kB / 1.31 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/1.411, allocations: 32.91 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/1.411, allocations: 63.75 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/1.411, allocations: 101.9 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.411, allocations: 0 / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/1.411, allocations: 126 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.411, allocations: 5.844 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.411, allocations: 2.906 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.411, allocations: 0 / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.412, allocations: 22.38 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.412, allocations: 2.844 kB / 1.311 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/1.412, allocations: 21.08 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.412, allocations: 2.844 kB / 1.311 GB, free: 29.38 MB / 1.061 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 7.556e-05/1.412, allocations: 119.3 kB / 1.311 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/1.412, allocations: 6.797 kB / 1.311 GB, free: 29.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/1.412, allocations: 14.42 kB / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.412, allocations: 0 / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.412, allocations: 6.969 kB / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.412, allocations: 3.938 kB / 1.311 GB, free: 29.24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/1.412, allocations: 419.8 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.412, allocations: 6.906 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/1.412, allocations: 6.734 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.412, allocations: 0 / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.412, allocations: 0 / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.412, allocations: 6.906 kB / 1.311 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.412, allocations: 8 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/1.413, allocations: 248.5 kB / 1.312 GB, free: 28.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/1.413, allocations: 83.56 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/1.413, allocations: 6.578 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.413, allocations: 2.969 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.413, allocations: 14.3 kB / 1.312 GB, free: 28.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.413, allocations: 6.938 kB / 1.312 GB, free: 28.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.62e-05/1.413, allocations: 96.95 kB / 1.312 GB, free: 28.52 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.413, allocations: 0 / 1.312 GB, free: 28.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003137/1.413, allocations: 43.22 kB / 1.312 GB, free: 28.5 MB / 1.061 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.0003688/1.414, allocations: 166.1 kB / 1.312 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002831/1.414, allocations: 85.41 kB / 1.312 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.414, allocations: 0 / 1.312 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/1.414, allocations: 45.94 kB / 1.312 GB, free: 28.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.414, allocations: 22.83 kB / 1.312 GB, free: 28.34 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/1.415, allocations: 211.1 kB / 1.312 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/1.415, allocations: 0.6902 MB / 1.313 GB, free: 27.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.068e-05/1.415, allocations: 5.781 kB / 1.313 GB, free: 27.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/1.415, allocations: 14.11 kB / 1.313 GB, free: 27.48 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.415, allocations: 0 / 1.313 GB, free: 27.48 MB / 1.061 GB Notification: Performance of Templates: time 0.004897/1.42, allocations: 1.758 MB / 1.315 GB, free: 27.31 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.286587731912732]