Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.009088/0.009089, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.00141/0.00141, allocations: 189.6 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 58.19 kB / 0.9508 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3042, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.0025/0.3067, allocations: 1.517 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3081, allocations: 0.7491 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.3082, allocations: 4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.3082, allocations: 11.92 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.324e-05/0.3083, allocations: 11.86 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.3089, allocations: 139.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.3091, allocations: 95.81 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3092, allocations: 15.97 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.3093, allocations: 51.78 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.3094, allocations: 59.8 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.3094, allocations: 12 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3096, allocations: 95.91 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.3097, allocations: 23.91 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.3097, allocations: 43.78 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.31, allocations: 163.6 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.31, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.283e-06/0.31, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3101, allocations: 0 / 1.091 GB, free: 14.5 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.0007373/0.3108, allocations: 460.2 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3108, allocations: 11.97 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.3109, allocations: 8.844 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.311, allocations: 176.3 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3111, allocations: 8.375 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3111, allocations: 8.312 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3114, allocations: 97.88 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3114, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3114, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3114, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.3116, allocations: 47.95 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.3124, allocations: 348.5 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.3125, allocations: 62.55 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3127, allocations: 40.84 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3127, allocations: 3.984 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.313, allocations: 99.53 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.552e-06/0.313, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005546/0.3135, allocations: 185.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3136, allocations: 55.41 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3137, allocations: 129.8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3138, allocations: 25.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3138, allocations: 96.05 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.3139, allocations: 23.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.3139, allocations: 29.7 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3141, allocations: 322.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-05/0.3142, allocations: 27.97 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.3143, allocations: 65.09 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3145, allocations: 104.2 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3145, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002668/0.3147, allocations: 129.5 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3148, allocations: 8.094 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3148, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3148, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3149, allocations: 19.92 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3149, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.315, allocations: 11.94 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3151, allocations: 4 kB / 1.093 GB, free: 11.67 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 0.0001245/0.3152, allocations: 134.9 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.3152, allocations: 11.91 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.3152, allocations: 8.375 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3153, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3153, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3153, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.3159, allocations: 430.3 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3159, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.3159, allocations: 11.94 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3159, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.316, allocations: 3.984 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.316, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.316, allocations: 3.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.3164, allocations: 239.5 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.3164, allocations: 88.95 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3165, allocations: 11.98 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.3166, allocations: 4.062 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3166, allocations: 11.92 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3167, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.3167, allocations: 102.1 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3167, allocations: 0 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000311/0.317, allocations: 43.98 kB / 1.094 GB, free: 10.47 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.0003425/0.3174, allocations: 162.2 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3177, allocations: 91.88 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3177, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3179, allocations: 56.16 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.3181, allocations: 11.92 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004803/0.3186, allocations: 204.1 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3189, allocations: 0.6962 MB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.91e-05/0.3189, allocations: 11.98 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.319, allocations: 11.44 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.319, allocations: 0 / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of Templates: time 0.004796/0.3238, allocations: 1.785 MB / 1.097 GB, free: 7.414 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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