Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00104/0.00104, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008409/0.008409, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 443.3 MB / 0.7175 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 11.78 kB / 0.8796 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3281, allocations: 155.2 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003446/0.3316, allocations: 2.652 MB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3329, allocations: 0.7673 MB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.3331, allocations: 8 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.3333, allocations: 39.62 kB / 1.034 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3336, allocations: 119.1 kB / 1.035 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.3339, allocations: 135.8 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.3344, allocations: 0.4911 MB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003441/0.3348, allocations: 186 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.3351, allocations: 167.2 kB / 1.036 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3353, allocations: 191 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.3354, allocations: 12 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.3354, allocations: 16 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.3355, allocations: 63.69 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3357, allocations: 212.5 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003536/0.3361, allocations: 418.5 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3361, allocations: 8 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3361, allocations: 0 / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3361, allocations: 0 / 1.036 GB, free: 14.8 MB / 0.795 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.001186/0.3373, allocations: 0.6645 MB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3373, allocations: 8.031 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3374, allocations: 56.38 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3379, allocations: 323.2 kB / 1.037 GB, free: 13.67 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.3379, allocations: 29.31 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.338, allocations: 40.36 kB / 1.038 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.3386, allocations: 385.2 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3387, allocations: 0 / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.3387, allocations: 16 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3387, allocations: 8 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.3393, allocations: 286.3 kB / 1.038 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.3412, allocations: 1.463 MB / 1.04 GB, free: 11.35 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.3418, allocations: 287.4 kB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.3422, allocations: 181.2 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3422, allocations: 4.234 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3422, allocations: 42.67 kB / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=27): time 1.403e-06/0.3423, allocations: 0 / 1.04 GB, free: 10.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=27): time 0.003097/0.3454, allocations: 0.9069 MB / 1.041 GB, free: 9.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3454, allocations: 59.34 kB / 1.041 GB, free: 9.82 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.3458, allocations: 357.7 kB / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3458, allocations: 33.7 kB / 1.041 GB, free: 9.426 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.346, allocations: 212.2 kB / 1.042 GB, free: 9.211 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.3461, allocations: 94.64 kB / 1.042 GB, free: 9.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3461, allocations: 25.72 kB / 1.042 GB, free: 9.086 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3462, allocations: 346.8 kB / 1.042 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3465, allocations: 104.5 kB / 1.042 GB, free: 8.637 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.3468, allocations: 159.9 kB / 1.042 GB, free: 8.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.3473, allocations: 274 kB / 1.043 GB, free: 8.172 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3473, allocations: 0 / 1.043 GB, free: 8.172 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001186/0.3485, allocations: 0.4978 MB / 1.043 GB, free: 7.664 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.3486, allocations: 129.5 kB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3486, allocations: 4 kB / 1.043 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007861/0.3494, allocations: 180.7 kB / 1.043 GB, free: 7.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3495, allocations: 39.97 kB / 1.043 GB, free: 7.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/0.3531, allocations: 2.494 MB / 1.046 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.3535, allocations: 47.58 kB / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3536, allocations: 8 kB / 1.046 GB, free: 4.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.3536, allocations: 10.03 kB / 1.046 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001121/0.3547, allocations: 440.2 kB / 1.046 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3547, allocations: 4 kB / 1.046 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/0.3554, allocations: 176.7 kB / 1.046 GB, free: 4.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3556, allocations: 48.08 kB / 1.047 GB, free: 3.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.3587, allocations: 2.38 MB / 1.049 GB, free: 1.445 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.359, allocations: 51.66 kB / 1.049 GB, free: 1.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3591, allocations: 12 kB / 1.049 GB, free: 1.383 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.0002339/0.3593, allocations: 225 kB / 1.049 GB, free: 1.152 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.3594, allocations: 35.53 kB / 1.049 GB, free: 1.117 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3595, allocations: 52.16 kB / 1.049 GB, free: 1.066 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.3595, allocations: 11.98 kB / 1.049 GB, free: 1.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3595, allocations: 3.938 kB / 1.049 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3595, allocations: 0 / 1.049 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.3601, allocations: 413.6 kB / 1.05 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3601, allocations: 0 / 1.05 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3602, allocations: 23.98 kB / 1.05 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.3608, allocations: 180.6 kB / 1.05 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3608, allocations: 4 kB / 1.05 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.3639, allocations: 2.385 MB / 1.052 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3639, allocations: 0 / 1.052 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3651, allocations: 0.5425 MB / 1.053 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.3652, allocations: 144.5 kB / 1.053 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3653, allocations: 4 kB / 1.053 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.3655, allocations: 27.92 kB / 1.053 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.3656, allocations: 23.97 kB / 1.053 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.3656, allocations: 4 kB / 1.053 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002748/0.3659, allocations: 263.2 kB / 1.053 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.868e-06/0.3659, allocations: 0 / 1.053 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000697/0.3666, allocations: 263.5 kB / 1.053 GB, free: 12.57 MB / 0.8106 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.0001472/0.3668, allocations: 107.2 kB / 1.053 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.3683, allocations: 0.7727 MB / 1.054 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3683, allocations: 0 / 1.054 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.3688, allocations: 342.6 kB / 1.055 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.3694, allocations: 93.38 kB / 1.055 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3707, allocations: 0.817 MB / 1.055 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3711, allocations: 0.8191 MB / 1.056 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3713, allocations: 35.27 kB / 1.056 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.3714, allocations: 23.44 kB / 1.056 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3714, allocations: 0 / 1.056 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.01367/0.385, allocations: 8.015 MB / 1.064 GB, free: 1.559 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches