Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003675, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7862/0.7866, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002766/0.7894, allocations: 1.814 MB / 0.9553 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.7905, allocations: 0.6621 MB / 0.9559 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.7907, allocations: 7.562 kB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.791, allocations: 80.5 kB / 0.956 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.7912, allocations: 69.36 kB / 0.9561 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.7913, allocations: 32.86 kB / 0.9561 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.7916, allocations: 140.4 kB / 0.9563 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.7918, allocations: 65.16 kB / 0.9563 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.792, allocations: 66.19 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.7921, allocations: 69.03 kB / 0.9564 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.7922, allocations: 7.812 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.673e-05/0.7922, allocations: 11.03 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.345e-05/0.7923, allocations: 23.94 kB / 0.9565 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.7923, allocations: 57.67 kB / 0.9565 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.7925, allocations: 137.2 kB / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7925, allocations: 0 / 0.9567 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7926, allocations: 5.375 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7926, allocations: 0 / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007882/0.7934, allocations: 462.6 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.7934, allocations: 8.844 kB / 0.9571 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.159e-05/0.7935, allocations: 30.95 kB / 0.9572 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.7938, allocations: 238.7 kB / 0.9574 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7939, allocations: 11.03 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.7939, allocations: 22.05 kB / 0.9574 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.7942, allocations: 144.8 kB / 0.9576 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.7942, allocations: 7.906 kB / 0.9576 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.7943, allocations: 6 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.7943, allocations: 3.562 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.7947, allocations: 124.3 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.7956, allocations: 0.4953 MB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.7962, allocations: 165.5 kB / 0.9583 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.7962, allocations: 2.094 kB / 0.9583 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.7962, allocations: 35.69 kB / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 2.094e-06/0.7962, allocations: 0 / 0.9584 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0006696/0.7969, allocations: 219.2 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.7969, allocations: 57.08 kB / 0.9586 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.7971, allocations: 157.6 kB / 0.9588 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.7971, allocations: 31.11 kB / 0.9588 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.7972, allocations: 132 kB / 0.9589 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.7972, allocations: 49.3 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.7973, allocations: 1.219 kB / 0.959 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.279e-05/0.7973, allocations: 325.7 kB / 0.9593 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.7975, allocations: 48.94 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.7977, allocations: 54.91 kB / 0.9594 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.7979, allocations: 61.16 kB / 0.9594 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7979, allocations: 0 / 0.9594 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00043/0.7983, allocations: 174.7 kB / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7984, allocations: 5.5 kB / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7984, allocations: 0 / 0.9596 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7984, allocations: 5.359 kB / 0.9596 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.7986, allocations: 40.92 kB / 0.9597 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.7987, allocations: 3.953 kB / 0.9597 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.7988, allocations: 21.55 kB / 0.9597 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.7988, allocations: 12.06 kB / 0.9597 GB, free: 3.172 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.825e-05/0.7989, allocations: 124.7 kB / 0.9598 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.799, allocations: 13.31 kB / 0.9598 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.7991, allocations: 25.64 kB / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.7991, allocations: 1.375 kB / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7991, allocations: 0 / 0.9599 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7991, allocations: 9.328 kB / 0.9599 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.7994, allocations: 253.3 kB / 0.9601 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7994, allocations: 0 / 0.9601 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.7997, allocations: 36.98 kB / 0.9601 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.7997, allocations: 1.375 kB / 0.9601 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.7998, allocations: 9.359 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7998, allocations: 1.375 kB / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7998, allocations: 0 / 0.9602 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.8004, allocations: 336.8 kB / 0.9605 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.8005, allocations: 94.23 kB / 0.9606 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.8006, allocations: 10.02 kB / 0.9606 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.8008, allocations: 19.42 kB / 0.9606 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.8008, allocations: 8.734 kB / 0.9606 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.8008, allocations: 2.25 kB / 0.9606 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001052/0.801, allocations: 121.8 kB / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.801, allocations: 0 / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004701/0.8014, allocations: 43.12 kB / 0.9608 GB, free: 2.27 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001312/0.8016, allocations: 110.8 kB / 0.9609 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.8021, allocations: 129.5 kB / 0.961 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8022, allocations: 0 / 0.961 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.8024, allocations: 78.92 kB / 0.9611 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.8028, allocations: 23.19 kB / 0.9611 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.8042, allocations: 0.6964 MB / 0.9618 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.8045, allocations: 0.7366 MB / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.8046, allocations: 13.8 kB / 0.9625 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.802e-05/0.8046, allocations: 19.38 kB / 0.9625 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.8047, allocations: 0 / 0.9625 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of Templates: time 0.005392/0.8101, allocations: 1.3 MB / 0.9638 GB, free: 172 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches