Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007151/0.007152, allocations: 99.19 kB / 15.73 MB, free: 6.039 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.001628/0.001628, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.62 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3251, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002755/0.3279, allocations: 1.513 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3293, allocations: 0.7532 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.3294, allocations: 7.875 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.056e-05/0.3294, allocations: 7.922 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.3295, allocations: 11.86 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.3301, allocations: 139.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3303, allocations: 95.77 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.3304, allocations: 15.97 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.3305, allocations: 51.83 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.3306, allocations: 51.81 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.3306, allocations: 8 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.3308, allocations: 103.8 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.536e-05/0.3309, allocations: 19.97 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.331, allocations: 51.77 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.3313, allocations: 163.5 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3313, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3313, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3313, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 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.0007379/0.332, allocations: 454.6 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3321, allocations: 12.03 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.3321, allocations: 12.78 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3323, allocations: 176.3 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.3323, allocations: 4.375 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3324, allocations: 12.36 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3326, allocations: 89.89 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3326, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3326, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3327, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3328, allocations: 51.95 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.3336, allocations: 352.6 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3338, allocations: 66.53 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3339, allocations: 40.83 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3339, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.3342, allocations: 87.36 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.3342, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.3347, allocations: 185.6 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3348, allocations: 63.39 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3349, allocations: 125.8 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3349, allocations: 33.69 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.335, allocations: 92.05 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.335, allocations: 11.81 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.3351, allocations: 33.7 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3352, allocations: 322.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3353, allocations: 27.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3354, allocations: 69.27 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3356, allocations: 96.2 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3356, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002729/0.3359, allocations: 129.4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3359, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3359, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.336, allocations: 4 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3361, allocations: 19.92 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3361, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.62e-05/0.3362, allocations: 16.02 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3362, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 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.849e-05/0.3363, allocations: 121.8 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3363, allocations: 11.84 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.3364, allocations: 12.36 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3364, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3364, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3364, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005939/0.337, allocations: 434.3 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.337, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3371, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3371, allocations: 3.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3371, allocations: 12.06 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3371, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3371, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.3375, allocations: 239.8 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.3375, allocations: 88.95 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3376, allocations: 3.984 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3377, allocations: 4 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3377, allocations: 19.86 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3377, allocations: 4 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.3378, allocations: 96.89 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3378, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003127/0.3381, allocations: 43.98 kB / 1.094 GB, free: 10.51 MB / 0.8575 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.0003694/0.3385, allocations: 167 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3388, allocations: 95.88 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3388, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.339, allocations: 51.91 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3392, allocations: 11.98 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.3397, allocations: 200.1 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3399, allocations: 0.6978 MB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.941e-05/0.34, allocations: 4 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.34, allocations: 11.44 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.34, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.004671/0.3447, allocations: 1.727 MB / 1.097 GB, free: 7.52 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0