Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.009192/0.009192, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 8.281 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7069, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004465/0.7115, allocations: 2.649 MB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.7131, allocations: 0.7636 MB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.7133, allocations: 7.938 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.7135, allocations: 43.62 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.7139, allocations: 119.1 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.7142, allocations: 131.8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000518/0.7148, allocations: 0.4911 MB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.7151, allocations: 186 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.7154, allocations: 171.2 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.7156, allocations: 187 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.439e-05/0.7157, allocations: 16 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.977e-05/0.7158, allocations: 16 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.7158, allocations: 63.62 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.716, allocations: 216.5 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.7164, allocations: 416.2 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7164, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7164, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7164, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001154/0.7176, allocations: 0.6745 MB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7176, allocations: 8.031 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.7177, allocations: 48.38 kB / 1.029 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.7182, allocations: 327.1 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.7182, allocations: 29.38 kB / 1.029 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.7183, allocations: 36.31 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.7189, allocations: 389.2 kB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7189, allocations: 0 / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.719, allocations: 16 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.719, allocations: 8 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.7195, allocations: 286.4 kB / 1.03 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.7214, allocations: 1.456 MB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.722, allocations: 287.5 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.7224, allocations: 181.2 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.7224, allocations: 4.234 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7225, allocations: 42.67 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.863e-06/0.7225, allocations: 0 / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.003035/0.7255, allocations: 0.892 MB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7256, allocations: 63.39 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.726, allocations: 365.7 kB / 1.033 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.726, allocations: 29.7 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.7262, allocations: 212.2 kB / 1.034 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.7262, allocations: 98.58 kB / 1.034 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.7263, allocations: 25.72 kB / 1.034 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7264, allocations: 346.8 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.7267, allocations: 100.5 kB / 1.034 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.7269, allocations: 171.8 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.7274, allocations: 265 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7274, allocations: 4 kB / 1.034 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001172/0.7286, allocations: 0.495 MB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/0.7287, allocations: 133.7 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7287, allocations: 0 / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.7295, allocations: 188.6 kB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.7297, allocations: 39.97 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.7334, allocations: 2.491 MB / 1.038 GB, free: 232 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.7338, allocations: 43.58 kB / 1.038 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.7338, allocations: 8 kB / 1.038 GB, free: 180 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.7339, allocations: 6.031 kB / 1.038 GB, free: 176 kB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.735, allocations: 444.3 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.735, allocations: 0 / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.7357, allocations: 184.8 kB / 1.038 GB, free: 15.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.7358, allocations: 35.92 kB / 1.038 GB, free: 15.51 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.7389, allocations: 2.382 MB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.7393, allocations: 47.75 kB / 1.041 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.7393, allocations: 12 kB / 1.041 GB, free: 12.94 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.7395, allocations: 227.8 kB / 1.041 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.7396, allocations: 39.53 kB / 1.041 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.733e-05/0.7397, allocations: 48.16 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.7397, allocations: 4 kB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7397, allocations: 7.922 kB / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7397, allocations: 0 / 1.041 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.7402, allocations: 421.5 kB / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.7402, allocations: 0 / 1.042 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.7404, allocations: 23.98 kB / 1.042 GB, free: 12.13 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.741, allocations: 180.6 kB / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.741, allocations: 0 / 1.042 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/0.7441, allocations: 2.39 MB / 1.044 GB, free: 9.426 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.7441, allocations: 4.062 kB / 1.044 GB, free: 9.422 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.7453, allocations: 0.5478 MB / 1.045 GB, free: 8.855 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.7454, allocations: 140.5 kB / 1.045 GB, free: 8.699 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.7455, allocations: 8 kB / 1.045 GB, free: 8.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.7457, allocations: 15.98 kB / 1.045 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.7458, allocations: 27.97 kB / 1.045 GB, free: 8.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.7459, allocations: 4 kB / 1.045 GB, free: 8.645 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003146/0.7462, allocations: 267.1 kB / 1.045 GB, free: 8.387 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7462, allocations: 3.938 kB / 1.045 GB, free: 8.383 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008054/0.747, allocations: 255.7 kB / 1.045 GB, free: 8.133 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.7472, allocations: 103.2 kB / 1.045 GB, free: 8.023 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.7488, allocations: 0.7905 MB / 1.046 GB, free: 7.207 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7488, allocations: 0 / 1.046 GB, free: 7.207 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.7494, allocations: 334.3 kB / 1.046 GB, free: 6.867 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.75, allocations: 99.27 kB / 1.047 GB, free: 6.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.7515, allocations: 0.8224 MB / 1.047 GB, free: 5.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.7519, allocations: 0.8114 MB / 1.048 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.7521, allocations: 39.27 kB / 1.048 GB, free: 5.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.7522, allocations: 19.44 kB / 1.048 GB, free: 5.035 MB / 0.795 GB Notification: Performance of SimCode: time 7.31e-07/0.7522, allocations: 4 kB / 1.048 GB, free: 5.031 MB / 0.795 GB Notification: Performance of Templates: time 0.01557/0.7677, allocations: 8 MB / 1.056 GB, free: 13.12 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches