Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 249.9 MB, free: 13.64 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.933/2.933, allocations: 489.7 MB / 0.7761 GB, free: 33.56 MB / 0.6231 GB [Timeout remaining time 87] 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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=551,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 69.77 kB / 1.127 GB, free: 37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3062, allocations: 172.1 MB / 1.295 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002656/0.3089, allocations: 1.54 MB / 1.296 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3102, allocations: 0.7596 MB / 1.297 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.3102, allocations: 7.938 kB / 1.297 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.3103, allocations: 3.938 kB / 1.297 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.3103, allocations: 7.875 kB / 1.297 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.3109, allocations: 139.6 kB / 1.297 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.311, allocations: 103.7 kB / 1.297 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.3111, allocations: 8 kB / 1.297 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.3112, allocations: 51.83 kB / 1.297 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.3113, allocations: 59.8 kB / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3113, allocations: 8 kB / 1.297 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.3115, allocations: 107.8 kB / 1.298 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.3115, allocations: 27.91 kB / 1.298 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.3116, allocations: 39.78 kB / 1.298 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3119, allocations: 159.5 kB / 1.298 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3119, allocations: 4 kB / 1.298 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3119, allocations: 3.938 kB / 1.298 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3119, allocations: 0 / 1.298 GB, free: 8.77 MB / 0.9981 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.0007096/0.3126, allocations: 466.3 kB / 1.298 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3126, allocations: 8.031 kB / 1.298 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3127, allocations: 8.891 kB / 1.298 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3128, allocations: 172.3 kB / 1.298 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.3128, allocations: 8.375 kB / 1.298 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.3129, allocations: 8.359 kB / 1.298 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.3131, allocations: 89.89 kB / 1.299 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3131, allocations: 3.984 kB / 1.299 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3132, allocations: 0 / 1.299 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3132, allocations: 8 kB / 1.299 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3133, allocations: 43.97 kB / 1.299 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.3141, allocations: 344.7 kB / 1.299 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3143, allocations: 66.58 kB / 1.299 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3144, allocations: 44.77 kB / 1.299 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3144, allocations: 0 / 1.299 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3147, allocations: 91.36 kB / 1.299 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3147, allocations: 0 / 1.299 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005605/0.3152, allocations: 197.6 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.3153, allocations: 51.41 kB / 1.299 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3154, allocations: 133.8 kB / 1.299 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3154, allocations: 25.7 kB / 1.299 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3155, allocations: 96.12 kB / 1.3 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3155, allocations: 23.8 kB / 1.3 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3156, allocations: 33.7 kB / 1.3 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3157, allocations: 326.8 kB / 1.3 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.3158, allocations: 27.98 kB / 1.3 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3159, allocations: 67.45 kB / 1.3 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3161, allocations: 100.2 kB / 1.3 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3161, allocations: 0 / 1.3 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.3164, allocations: 133.5 kB / 1.3 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3164, allocations: 4 kB / 1.3 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3164, allocations: 4.094 kB / 1.3 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3164, allocations: 4 kB / 1.3 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3165, allocations: 11.98 kB / 1.3 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.3165, allocations: 7.938 kB / 1.3 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.679e-05/0.3166, allocations: 8 kB / 1.3 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3166, allocations: 7.984 kB / 1.3 GB, free: 5.934 MB / 0.9981 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.0001084/0.3167, allocations: 124 kB / 1.3 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.3167, allocations: 7.953 kB / 1.3 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.3168, allocations: 12.38 kB / 1.3 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3168, allocations: 0 / 1.3 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3168, allocations: 0 / 1.3 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3168, allocations: 3.984 kB / 1.3 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/0.3174, allocations: 438.2 kB / 1.301 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3174, allocations: 0 / 1.301 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.3175, allocations: 7.984 kB / 1.301 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3175, allocations: 4 kB / 1.301 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3175, allocations: 0 / 1.301 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3175, allocations: 0 / 1.301 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3175, allocations: 7.875 kB / 1.301 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.3179, allocations: 247.4 kB / 1.301 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.3179, allocations: 85.06 kB / 1.301 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.318, allocations: 8 kB / 1.301 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3181, allocations: 7.984 kB / 1.301 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.3181, allocations: 7.938 kB / 1.301 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3181, allocations: 7.984 kB / 1.301 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.3182, allocations: 95.27 kB / 1.301 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3182, allocations: 4 kB / 1.301 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002944/0.3185, allocations: 35.94 kB / 1.301 GB, free: 4.754 MB / 0.9981 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.0003651/0.3189, allocations: 173.4 kB / 1.302 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.3192, allocations: 95.86 kB / 1.302 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3192, allocations: 0 / 1.302 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3193, allocations: 48.09 kB / 1.302 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.3196, allocations: 12.75 kB / 1.302 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.32, allocations: 233.7 kB / 1.302 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3204, allocations: 0.6885 MB / 1.303 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.3204, allocations: 11.44 kB / 1.303 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/0.3204, allocations: 0 / 1.303 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of Templates: time 0.003701/0.3241, allocations: 1.817 MB / 1.304 GB, free: 1.637 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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