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.1-maint.10.0.x/package.mo", uses=false) 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=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.005507/0.005507, allocations: 98.11 kB / 15.73 MB, free: 6.012 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.001211/0.001211, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.88 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3377, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003062/0.3408, allocations: 1.513 MB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3423, allocations: 0.7557 MB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.3424, allocations: 4 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.3425, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.3426, allocations: 19.84 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.3433, allocations: 135.5 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3435, allocations: 103.8 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3436, allocations: 8 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.3438, allocations: 51.83 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3439, allocations: 55.8 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.3439, allocations: 12 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.3442, allocations: 99.91 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.03e-05/0.3442, allocations: 19.92 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.3443, allocations: 43.83 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3446, allocations: 171.3 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3446, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3446, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3447, allocations: 0 / 1.17 GB, free: 3.809 MB / 0.92 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.0007805/0.3454, allocations: 462.4 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3455, allocations: 12.03 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.3456, allocations: 8.891 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3457, allocations: 179.5 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3458, allocations: 8.375 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3458, allocations: 4.375 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.3461, allocations: 93.81 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3461, allocations: 3.984 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3461, allocations: 4 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.3461, allocations: 4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3463, allocations: 51.95 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007587/0.3471, allocations: 352.6 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3473, allocations: 62.55 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3474, allocations: 40.84 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.3474, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.3477, allocations: 95.34 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.3477, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000565/0.3483, allocations: 197.7 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.3484, allocations: 55.41 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.3485, allocations: 121.8 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.3485, allocations: 29.7 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.3486, allocations: 96.09 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3486, allocations: 19.78 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.3487, allocations: 29.7 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3488, allocations: 330.8 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.3489, allocations: 27.98 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.349, allocations: 64.27 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3492, allocations: 100.1 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3492, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.3495, allocations: 125.6 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3495, allocations: 7.984 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3495, allocations: 8 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3495, allocations: 4.094 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3496, allocations: 19.92 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3497, allocations: 0 / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.3497, allocations: 7.953 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3498, allocations: 8 kB / 1.172 GB, free: 0.9648 MB / 0.92 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.522e-05/0.3499, allocations: 121.8 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.3499, allocations: 11.94 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.3499, allocations: 12.38 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3499, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3499, allocations: 4 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.35, allocations: 7.875 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.3505, allocations: 426.4 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3506, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.3506, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3506, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3506, allocations: 7.984 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3506, allocations: 0 / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3506, allocations: 7.938 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.351, allocations: 247.4 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3511, allocations: 85 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3512, allocations: 4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3513, allocations: 15.98 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.3513, allocations: 7.922 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3514, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.3514, allocations: 98.89 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.667e-06/0.3514, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003253/0.3518, allocations: 43.86 kB / 1.173 GB, free: 15.78 MB / 0.9356 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.0004069/0.3522, allocations: 163.4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.3525, allocations: 95.88 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3525, allocations: 0 / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3527, allocations: 55.89 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.353, allocations: 21.98 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.3535, allocations: 195.9 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3538, allocations: 0.6924 MB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.881e-05/0.3539, allocations: 7.859 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.3539, allocations: 19.42 kB / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of SimCode: time 1.833e-06/0.3539, allocations: 0 / 1.174 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.004938/0.3589, allocations: 1.757 MB / 1.176 GB, free: 12.75 MB / 0.9356 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 -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/jenkins/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