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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_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.001589/0.001589, allocations: 106.3 kB / 16.36 MB, free: 6.289 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.001733/0.001733, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.425/2.425, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 68.55 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003054/0.3227, allocations: 1.517 MB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.324, allocations: 0.7571 MB / 1.021 GB, free: 7.543 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.3241, allocations: 8 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.3242, allocations: 7.922 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.3243, allocations: 7.875 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.3249, allocations: 143.5 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.325, allocations: 99.75 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3251, allocations: 8 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.3252, allocations: 59.77 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.3253, allocations: 51.86 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.3253, allocations: 8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3256, allocations: 103.8 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.3256, allocations: 15.98 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.3257, allocations: 47.77 kB / 1.022 GB, free: 6.992 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3259, allocations: 167.5 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3259, allocations: 0 / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.326, allocations: 3.938 kB / 1.022 GB, free: 6.824 MB / 0.795 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.0006712/0.3266, allocations: 454.7 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3267, allocations: 8.625 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.3267, allocations: 12.84 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3269, allocations: 180.7 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3269, allocations: 8.375 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3269, allocations: 8.312 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.3272, allocations: 89.88 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3272, allocations: 4 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3272, allocations: 4 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3272, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.3274, allocations: 47.95 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/0.3282, allocations: 352.5 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3284, allocations: 66.55 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3285, allocations: 40.84 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3285, allocations: 0 / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.3288, allocations: 103.3 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.3288, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000548/0.3293, allocations: 197.9 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.3294, allocations: 55.41 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3295, allocations: 130.1 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3295, allocations: 25.7 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.3296, allocations: 100 kB / 1.024 GB, free: 4.762 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3296, allocations: 23.7 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.695e-05/0.3297, allocations: 25.7 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3298, allocations: 322.8 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.3299, allocations: 31.97 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.33, allocations: 60.28 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3302, allocations: 96.2 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3302, allocations: 0 / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000261/0.3305, allocations: 137.5 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3305, allocations: 4 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3305, allocations: 4 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3305, allocations: 0 / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3306, allocations: 19.92 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3307, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.3307, allocations: 11.88 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.3308, allocations: 8 kB / 1.024 GB, free: 3.98 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 9.479e-05/0.3309, allocations: 125.8 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3309, allocations: 11.89 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.3309, allocations: 8.375 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3309, allocations: 0 / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.331, allocations: 3.938 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.331, allocations: 4.062 kB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.3316, allocations: 434.3 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3316, allocations: 4 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.3316, allocations: 4 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3316, allocations: 0 / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.3317, allocations: 3.984 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3317, allocations: 0 / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3317, allocations: 7.938 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.3321, allocations: 247.3 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.543e-05/0.3321, allocations: 81.02 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.3322, allocations: 7.984 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3323, allocations: 8 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.3323, allocations: 7.922 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3324, allocations: 4 kB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.3324, allocations: 99.27 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3324, allocations: 0 / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003268/0.3328, allocations: 39.92 kB / 1.025 GB, free: 2.801 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.0003476/0.3331, allocations: 169.2 kB / 1.025 GB, free: 2.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3334, allocations: 91.88 kB / 1.026 GB, free: 2.551 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3334, allocations: 4 kB / 1.026 GB, free: 2.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3336, allocations: 56.09 kB / 1.026 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3339, allocations: 14.33 kB / 1.026 GB, free: 2.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.3344, allocations: 196.2 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3346, allocations: 0.6885 MB / 1.026 GB, free: 1.547 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.3347, allocations: 11.98 kB / 1.026 GB, free: 1.535 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.3347, allocations: 11.44 kB / 1.026 GB, free: 1.523 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3347, allocations: 3.938 kB / 1.026 GB, free: 1.52 MB / 0.795 GB Notification: Performance of Templates: time 0.004567/0.3393, allocations: 1.745 MB / 1.028 GB, free: 15.78 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_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