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.006729/0.006729, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001288/0.001288, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.618/2.618, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 61.97 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3106, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002617/0.3132, allocations: 1.516 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3145, allocations: 0.7569 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.3146, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3147, allocations: 11.81 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.3147, allocations: 15.86 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005712/0.3153, allocations: 135.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3154, allocations: 99.77 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3156, allocations: 23.95 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.3157, allocations: 43.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.357e-05/0.3157, allocations: 55.81 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.3158, allocations: 8 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.316, allocations: 95.84 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.316, allocations: 23.97 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.3161, allocations: 55.77 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.3163, allocations: 159.6 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3164, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3164, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3164, 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.0007147/0.3171, allocations: 454.6 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3171, allocations: 12.03 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.3172, allocations: 8.844 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3174, allocations: 180.2 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3174, allocations: 8.359 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.3174, allocations: 12.38 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.3177, allocations: 89.94 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3177, allocations: 0 / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3177, allocations: 3.984 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3177, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3179, allocations: 51.91 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000772/0.3187, allocations: 348.6 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.3189, allocations: 62.48 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.319, allocations: 44.83 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3191, allocations: 8.094 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/0.3193, allocations: 99.28 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3193, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005905/0.3199, allocations: 185.7 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.32, allocations: 59.39 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.3201, allocations: 127.8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3201, allocations: 29.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.3202, allocations: 96.03 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3202, allocations: 11.81 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.3203, allocations: 37.64 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3204, allocations: 322.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.742e-05/0.3205, allocations: 31.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.3206, allocations: 68.27 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.3208, allocations: 96.2 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3208, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002591/0.3211, allocations: 129.4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3211, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3211, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3211, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3213, allocations: 11.98 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3213, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.27e-05/0.3214, allocations: 16.02 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3214, allocations: 8.062 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.0001092/0.3215, allocations: 127.4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3215, allocations: 7.906 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.3215, allocations: 20.3 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3216, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3216, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3216, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3222, allocations: 434.3 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3222, allocations: 4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.3222, allocations: 3.984 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3222, allocations: 4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3223, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3223, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3223, allocations: 3.938 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.3227, allocations: 247.8 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3227, allocations: 88.95 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3228, allocations: 0 / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3229, allocations: 11.98 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3229, allocations: 15.86 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.323, allocations: 7.984 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.323, allocations: 99.2 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.323, allocations: 0 / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002934/0.3233, allocations: 40 kB / 1.094 GB, free: 10.48 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.0003623/0.3237, allocations: 153.3 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.324, allocations: 99.86 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.324, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3242, allocations: 47.97 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3245, allocations: 13.88 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.3249, allocations: 208.2 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3252, allocations: 0.6924 MB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.3253, allocations: 7.938 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3253, allocations: 15.44 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.3253, allocations: 0 / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of Templates: time 0.004597/0.3299, allocations: 1.765 MB / 1.097 GB, free: 7.449 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