Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001368/0.001368, allocations: 193 kB / 16.25 MB, free: 6.629 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.742 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003174/0.003174, allocations: 69.84 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3228, allocations: 159.1 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002864/0.3257, allocations: 1.573 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3271, allocations: 0.7246 MB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.3272, allocations: 3.938 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.3272, allocations: 3.938 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.363e-05/0.3273, allocations: 7.922 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3278, allocations: 115.8 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3279, allocations: 75.77 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.328, allocations: 8 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.3281, allocations: 35.91 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.3282, allocations: 39.83 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3282, allocations: 4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.3284, allocations: 99.84 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.3284, allocations: 15.92 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.3285, allocations: 39.84 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3287, allocations: 135.9 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3287, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3287, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3288, allocations: 0 / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007009/0.3295, allocations: 421 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3295, allocations: 8.031 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3296, allocations: 8.844 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3297, allocations: 176.2 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3298, allocations: 8.312 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3298, allocations: 8.375 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.33, allocations: 65.97 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.33, allocations: 0 / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.33, allocations: 7.984 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.33, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.3302, allocations: 31.98 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006345/0.3308, allocations: 320.8 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.331, allocations: 54.44 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.3311, allocations: 32.97 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3311, allocations: 4 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.3313, allocations: 75.38 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3313, allocations: 0 / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004145/0.3317, allocations: 137.6 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.3318, allocations: 63.39 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3319, allocations: 121.8 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.332, allocations: 33.7 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.332, allocations: 92.05 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3321, allocations: 19.73 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.3321, allocations: 29.7 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3323, allocations: 322.8 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.3324, allocations: 19.98 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.3325, allocations: 54.55 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.3327, allocations: 74.48 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3327, allocations: 0 / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002392/0.3329, allocations: 109.9 kB / 1.068 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.333, allocations: 9.25 kB / 1.068 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.333, allocations: 4.062 kB / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.333, allocations: 0 / 1.068 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.3331, allocations: 8 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3331, allocations: 7.984 kB / 1.068 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.3332, allocations: 11.91 kB / 1.068 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.3332, allocations: 4 kB / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001164/0.3333, allocations: 129.7 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.3334, allocations: 3.906 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.3334, allocations: 20.36 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.3339, allocations: 382.3 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3339, allocations: 4 kB / 1.069 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.334, allocations: 4 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.334, allocations: 4 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.334, allocations: 7.984 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.334, allocations: 0 / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.334, allocations: 3.938 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.3344, allocations: 211.4 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3344, allocations: 81.02 kB / 1.069 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3344, allocations: 3.984 kB / 1.069 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.3345, allocations: 8 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.3346, allocations: 11.94 kB / 1.069 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3346, allocations: 3.984 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.153e-05/0.3347, allocations: 99.2 kB / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3347, allocations: 0 / 1.069 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003119/0.335, allocations: 36 kB / 1.069 GB, free: 8.078 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004039/0.3354, allocations: 164.5 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3357, allocations: 75.89 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3357, allocations: 0 / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.815e-05/0.3358, allocations: 35.92 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3361, allocations: 5.531 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.3365, allocations: 201.1 kB / 1.07 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3368, allocations: 0.6885 MB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.3369, allocations: 4 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3369, allocations: 7.438 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3369, allocations: 4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.004693/0.3416, allocations: 1.421 MB / 1.072 GB, free: 5.438 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0