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) 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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009536/0.0009534, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008854/0.008855, allocations: 169.2 kB / 16.26 MB, free: 6.648 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 443.3 MB / 0.7175 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 11.94 kB / 0.8796 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 155.2 MB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001868/0.3316, allocations: 1.23 MB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.333, allocations: 0.7601 MB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.333, allocations: 0 / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.333, allocations: 3.938 kB / 1.033 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.3331, allocations: 11.92 kB / 1.033 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.3336, allocations: 115.7 kB / 1.033 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3338, allocations: 103.7 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.3339, allocations: 4 kB / 1.033 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.334, allocations: 43.84 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.545e-05/0.3341, allocations: 47.86 kB / 1.033 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3341, allocations: 4 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.3343, allocations: 99.78 kB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3343, allocations: 19.97 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.3344, allocations: 69.48 kB / 1.034 GB, free: 1.871 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3346, allocations: 159.8 kB / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3346, allocations: 0 / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3346, allocations: 0 / 1.034 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3347, allocations: 0 / 1.034 GB, free: 1.715 MB / 0.7794 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.000666/0.3353, allocations: 442.6 kB / 1.034 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3354, allocations: 15.97 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.3354, allocations: 8.844 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3356, allocations: 184.3 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.3356, allocations: 4.375 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3357, allocations: 4.375 kB / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.3359, allocations: 93.94 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.336, allocations: 0 / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.336, allocations: 4 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.336, allocations: 7.938 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3362, allocations: 51.97 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.337, allocations: 348.6 kB / 1.035 GB, free: 432 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3372, allocations: 70.58 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3374, allocations: 48.83 kB / 1.035 GB, free: 300 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3374, allocations: 4 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.3377, allocations: 103.5 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3377, allocations: 0 / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000603/0.3383, allocations: 193.6 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3384, allocations: 59.33 kB / 1.035 GB, free: 15.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3385, allocations: 125.7 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3385, allocations: 33.7 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.503e-05/0.3386, allocations: 92.12 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3386, allocations: 11.81 kB / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.3386, allocations: 25.7 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3388, allocations: 326.8 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3389, allocations: 31.98 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.339, allocations: 60.28 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3392, allocations: 104.2 kB / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3392, allocations: 0 / 1.036 GB, free: 15.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002772/0.3395, allocations: 141.4 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3396, allocations: 8 kB / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3396, allocations: 0 / 1.036 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3396, allocations: 4 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3397, allocations: 15.98 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3397, allocations: 4 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3398, allocations: 12.03 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3398, allocations: 7.938 kB / 1.036 GB, free: 14.86 MB / 0.795 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.0001287/0.34, allocations: 141 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.34, allocations: 7.906 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.34, allocations: 4.375 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.34, allocations: 4 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3401, allocations: 0 / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3401, allocations: 0 / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.3407, allocations: 442.2 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3407, allocations: 0 / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.3408, allocations: 8 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3408, allocations: 0 / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3408, allocations: 15.98 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3408, allocations: 4 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3408, allocations: 3.938 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.3413, allocations: 251.4 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.3413, allocations: 88.94 kB / 1.037 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3414, allocations: 7.938 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3415, allocations: 8 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3415, allocations: 11.92 kB / 1.037 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3415, allocations: 8 kB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.3416, allocations: 98.62 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3416, allocations: 0 / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003316/0.342, allocations: 40 kB / 1.037 GB, free: 13.64 MB / 0.795 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.0003859/0.3423, allocations: 162.7 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.3427, allocations: 99.88 kB / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3427, allocations: 192 / 1.038 GB, free: 13.39 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.3429, allocations: 48.45 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.3432, allocations: 17.8 kB / 1.038 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.3437, allocations: 228.9 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.344, allocations: 0.6926 MB / 1.039 GB, free: 12.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.344, allocations: 4 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.3441, allocations: 15.42 kB / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.3441, allocations: 0 / 1.039 GB, free: 12.33 MB / 0.795 GB Notification: Performance of Templates: time 0.005232/0.3493, allocations: 1.642 MB / 1.04 GB, free: 10.7 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0