Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001997/0.001997, allocations: 114 kB / 17.13 MB, free: 6.027 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.002218/0.002218, allocations: 196.6 kB / 20.08 MB, free: 3.086 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.51/1.51, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.057 GB, free: 2.074 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.291, allocations: 160.7 MB / 1.214 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002909/0.2939, allocations: 1.531 MB / 1.216 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.2953, allocations: 0.772 MB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.2954, allocations: 3.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.2954, allocations: 3.938 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.2954, allocations: 15.86 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.296, allocations: 135.6 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.2961, allocations: 103.7 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.2962, allocations: 15.92 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.2963, allocations: 43.91 kB / 1.217 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.2964, allocations: 55.81 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2964, allocations: 12 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.2966, allocations: 107.8 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.2967, allocations: 23.91 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.2968, allocations: 39.84 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.297, allocations: 171.4 kB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.297, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.562e-06/0.297, allocations: 0 / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.297, allocations: 0 / 1.217 GB, free: 14 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.0007428/0.2978, allocations: 466.3 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2978, allocations: 8.031 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.2979, allocations: 8.891 kB / 1.217 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.298, allocations: 176.3 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.298, allocations: 8.375 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.2981, allocations: 4.375 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.2983, allocations: 89.94 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2983, allocations: 3.938 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2983, allocations: 8 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2983, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2985, allocations: 51.95 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.2994, allocations: 336.7 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2996, allocations: 58.59 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.2997, allocations: 40.98 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2997, allocations: 3.984 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.3, allocations: 95.34 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3, allocations: 4 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006083/0.3006, allocations: 185.5 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3007, allocations: 59.34 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.3008, allocations: 129.4 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3008, allocations: 33.7 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.3009, allocations: 92.09 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.3009, allocations: 23.77 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.301, allocations: 33.7 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.3012, allocations: 326.8 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.3012, allocations: 27.98 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3014, allocations: 64.27 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.3016, allocations: 100.2 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3016, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.3019, allocations: 129.5 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3019, allocations: 6.125 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3019, allocations: 8 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3019, allocations: 3.984 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.302, allocations: 12.06 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.302, allocations: 11.92 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.3021, allocations: 11.95 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3021, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 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.0001068/0.3022, allocations: 121.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3022, allocations: 11.95 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3023, allocations: 12.36 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3023, allocations: 4 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3023, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3023, allocations: 0 / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.3029, allocations: 434.3 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3029, allocations: 3.984 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.303, allocations: 4 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.303, allocations: 4 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.303, allocations: 4 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.303, allocations: 3.984 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.303, allocations: 3.938 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.3034, allocations: 251.8 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.3035, allocations: 81.06 kB / 1.22 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3035, allocations: 8 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3036, allocations: 11.98 kB / 1.22 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3037, allocations: 11.92 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3037, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.3038, allocations: 95.27 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003296/0.3041, allocations: 47.86 kB / 1.221 GB, free: 9.977 MB / 0.9669 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/0.3045, allocations: 162.2 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3048, allocations: 83.89 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3048, allocations: 4 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3049, allocations: 52.09 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3052, allocations: 13.64 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.3057, allocations: 229.6 kB / 1.221 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3061, allocations: 0.69 MB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.3061, allocations: 11.44 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.3061, allocations: 8 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.004014/0.3101, allocations: 1.81 MB / 1.224 GB, free: 6.875 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.84912179899402]