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.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.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.001653/0.001653, allocations: 107.1 kB / 15.99 MB, free: 5.895 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.001925/0.001925, allocations: 193.8 kB / 16.91 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.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.268/2.268, allocations: 390.3 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 64.84 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2979, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004652/0.3026, allocations: 1.58 MB / 0.9513 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.3048, allocations: 0.7441 MB / 0.952 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.3049, allocations: 3.938 kB / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.388e-05/0.305, allocations: 0 / 0.952 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3052, allocations: 15.88 kB / 0.9521 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.3062, allocations: 119.8 kB / 0.9522 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.3064, allocations: 99.73 kB / 0.9523 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.3067, allocations: 15.98 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.3069, allocations: 55.83 kB / 0.9523 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.307, allocations: 47.83 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.3071, allocations: 12 kB / 0.9524 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3074, allocations: 91.91 kB / 0.9525 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.3075, allocations: 27.89 kB / 0.9525 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.938e-05/0.3076, allocations: 51.78 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.3079, allocations: 112 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.628e-06/0.3079, allocations: 0 / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.308, allocations: 7.938 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.308, allocations: 0 / 0.9527 GB, free: 6.266 MB / 0.7325 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.001168/0.3091, allocations: 462.6 kB / 0.9531 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3092, allocations: 8.031 kB / 0.9531 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.3093, allocations: 8.844 kB / 0.9531 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3095, allocations: 172.2 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.3096, allocations: 4.375 kB / 0.9533 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.3096, allocations: 8.375 kB / 0.9533 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.3101, allocations: 89.88 kB / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3101, allocations: 0 / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.3101, allocations: 0 / 0.9534 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3102, allocations: 8 kB / 0.9534 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.3105, allocations: 51.94 kB / 0.9534 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3118, allocations: 340.6 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.3121, allocations: 70.58 kB / 0.9538 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.3124, allocations: 44.83 kB / 0.9539 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.3124, allocations: 3.938 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.3129, allocations: 91.3 kB / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.775e-06/0.313, allocations: 0 / 0.954 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0009453/0.3139, allocations: 189.6 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.314, allocations: 63.39 kB / 0.9542 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3142, allocations: 117.8 kB / 0.9543 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.404e-05/0.3143, allocations: 29.7 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.438e-05/0.3144, allocations: 92.12 kB / 0.9544 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3144, allocations: 15.81 kB / 0.9545 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.3145, allocations: 33.7 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002919/0.3149, allocations: 326.8 kB / 0.9548 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.315, allocations: 27.98 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3153, allocations: 64.27 kB / 0.9549 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.3157, allocations: 96.2 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3157, allocations: 0 / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005215/0.3163, allocations: 129.4 kB / 0.9551 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.3163, allocations: 4 kB / 0.9551 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3163, allocations: 8.094 kB / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3163, allocations: 0 / 0.9551 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3166, allocations: 15.98 kB / 0.9551 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3166, allocations: 3.938 kB / 0.9551 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.3168, allocations: 19.83 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3168, allocations: 4 kB / 0.9552 GB, free: 3.449 MB / 0.7325 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.0001936/0.317, allocations: 121.8 kB / 0.9553 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.3171, allocations: 7.906 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.3171, allocations: 16.36 kB / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3172, allocations: 0 / 0.9553 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3172, allocations: 4 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3172, allocations: 0 / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3183, allocations: 422.7 kB / 0.9557 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3183, allocations: 4 kB / 0.9557 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3184, allocations: 0 / 0.9557 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3184, allocations: 8 kB / 0.9557 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.3185, allocations: 7.984 kB / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3185, allocations: 0 / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3185, allocations: 3.938 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.3193, allocations: 247.4 kB / 0.956 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3194, allocations: 84.95 kB / 0.956 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.3194, allocations: 8.062 kB / 0.9561 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3197, allocations: 11.98 kB / 0.9561 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.3198, allocations: 11.92 kB / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3198, allocations: 4 kB / 0.9561 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3199, allocations: 102.7 kB / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/0.3199, allocations: 0 / 0.9562 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005797/0.3205, allocations: 47.92 kB / 0.9562 GB, free: 2.262 MB / 0.7325 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.0005533/0.3211, allocations: 162 kB / 0.9564 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005277/0.3216, allocations: 95.88 kB / 0.9565 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3217, allocations: 0 / 0.9565 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.3219, allocations: 47.91 kB / 0.9565 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.3224, allocations: 12.19 kB / 0.9565 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.3232, allocations: 237.9 kB / 0.9568 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3237, allocations: 0.6961 MB / 0.9574 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3237, allocations: 15.44 kB / 0.9574 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of SimCode: time 5.72e-07/0.3238, allocations: 0 / 0.9574 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of Templates: time 0.006687/0.3305, allocations: 1.802 MB / 0.9592 GB, free: 15.15 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches