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.00109/0.00109, allocations: 109 kB / 16.37 MB, free: 6.477 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.001137/0.001137, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.391/1.391, 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 11.0.0-master/package.mo): time 2.429/2.429, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.81 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003022/0.302, allocations: 1.525 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3034, allocations: 0.7632 MB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.3034, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.3035, allocations: 3.938 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.3035, allocations: 15.86 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.3041, allocations: 143.6 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3043, allocations: 99.7 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3044, allocations: 15.97 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.274e-05/0.3045, allocations: 43.91 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.143e-05/0.3046, allocations: 51.81 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3046, allocations: 8 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.3048, allocations: 107.8 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3049, allocations: 19.91 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.3049, allocations: 47.83 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3052, allocations: 167.5 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3052, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3052, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3052, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 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.0006598/0.3059, allocations: 450.7 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3059, allocations: 19.97 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.306, allocations: 8.844 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.3061, allocations: 180.2 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.3061, allocations: 12.36 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3062, allocations: 4.375 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3064, allocations: 93.88 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3064, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3065, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3065, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.3066, allocations: 51.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007474/0.3074, allocations: 344.6 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3076, allocations: 66.58 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.3077, allocations: 56.83 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3077, allocations: 0 / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.3079, allocations: 95.48 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.308, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005329/0.3085, allocations: 189.5 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.3086, allocations: 55.39 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.3087, allocations: 128.6 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3087, allocations: 25.7 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.3087, allocations: 96.12 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3088, allocations: 19.72 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3088, allocations: 29.7 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3089, allocations: 326.8 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.309, allocations: 35.92 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.3091, allocations: 60.27 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3093, allocations: 96.2 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3093, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002517/0.3096, allocations: 133.4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3096, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3096, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3096, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3097, allocations: 20.02 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3098, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.3098, allocations: 15.92 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3099, allocations: 4 kB / 1.032 GB, free: 12.25 MB / 0.8106 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.791e-05/0.31, allocations: 129.7 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.31, allocations: 3.906 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.31, allocations: 16.36 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.31, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.31, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.31, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.3106, allocations: 430.4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3106, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.3107, allocations: 7.984 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3107, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3107, allocations: 4.062 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3107, allocations: 4 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3107, allocations: 3.938 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.3111, allocations: 251.7 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.3112, allocations: 85.02 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.3112, allocations: 4 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3113, allocations: 11.98 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3114, allocations: 7.938 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3114, allocations: 7.984 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.3114, allocations: 95.27 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3114, allocations: 4 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002972/0.3117, allocations: 39.94 kB / 1.033 GB, free: 11.07 MB / 0.8106 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.0003417/0.3121, allocations: 165.5 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3124, allocations: 95.92 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3124, allocations: 4 kB / 1.033 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.3126, allocations: 51.91 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3128, allocations: 8.266 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.3133, allocations: 200.2 kB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3136, allocations: 0.6924 MB / 1.034 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.3136, allocations: 7.984 kB / 1.034 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.3136, allocations: 11.44 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3137, allocations: 4 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of Templates: time 0.004461/0.3181, allocations: 1.741 MB / 1.036 GB, free: 8.059 MB / 0.8106 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 -s gbode -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/jenkins1/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