Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.002082/0.002082, allocations: 109.8 kB / 16.41 MB, free: 5.918 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.002567/0.002567, allocations: 189.4 kB / 17.34 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.611/2.611, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.156/4.156, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27/1.273, allocations: 151.6 MB / 1.167 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.00446/1.278, allocations: 2.233 MB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001581/1.28, allocations: 0.7088 MB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/1.28, allocations: 4 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/1.28, allocations: 99.39 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/1.281, allocations: 71.34 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/1.281, allocations: 35.95 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/1.281, allocations: 207.1 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/1.281, allocations: 79.36 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/1.282, allocations: 83.7 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/1.282, allocations: 83.56 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/1.282, allocations: 19.98 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.938e-05/1.282, allocations: 16 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/1.282, allocations: 39.78 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/1.282, allocations: 83.55 kB / 1.171 GB, free: 20 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/1.282, allocations: 198.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.282, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.054e-06/1.282, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.548e-06/1.282, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 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.001118/1.284, allocations: 494.4 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.284, allocations: 16.86 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/1.284, allocations: 24.84 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/1.284, allocations: 248.6 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/1.284, allocations: 12.38 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/1.284, allocations: 12.38 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/1.285, allocations: 151.2 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.285, allocations: 8 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/1.285, allocations: 8 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.285, allocations: 4 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/1.285, allocations: 107.9 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/1.286, allocations: 0.5079 MB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/1.287, allocations: 162.8 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/1.287, allocations: 72.83 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/1.287, allocations: 7.984 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/1.287, allocations: 34.56 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/1.287, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0006511/1.288, allocations: 191.4 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.288, allocations: 51.41 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/1.288, allocations: 163.3 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/1.288, allocations: 33.62 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/1.288, allocations: 128.3 kB / 1.174 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/1.288, allocations: 59.53 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/1.288, allocations: 29.7 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.288, allocations: 334.7 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.288, allocations: 43.97 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.289, allocations: 47.97 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/1.289, allocations: 119.1 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.289, allocations: 0 / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003721/1.289, allocations: 161.5 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.289, allocations: 6.656 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.289, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.289, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.289, allocations: 43.92 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.289, allocations: 0 / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/1.29, allocations: 19.88 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/1.29, allocations: 4 kB / 1.174 GB, free: 12.35 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.29, allocations: 133.7 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/1.29, allocations: 15.91 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.812e-05/1.29, allocations: 17.52 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.29, allocations: 4 kB / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.29, allocations: 0 / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.29, allocations: 0 / 1.175 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/1.29, allocations: 257.4 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.29, allocations: 4 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/1.291, allocations: 39.97 kB / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.291, allocations: 0 / 1.175 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.291, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.291, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.291, allocations: 0 / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/1.291, allocations: 319.2 kB / 1.175 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/1.291, allocations: 97.03 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/1.291, allocations: 4 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/1.292, allocations: 7.984 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.292, allocations: 11.98 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.292, allocations: 4 kB / 1.175 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.774e-05/1.292, allocations: 120 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.292, allocations: 3.938 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002984/1.292, allocations: 43.89 kB / 1.175 GB, free: 11.19 MB / 0.9044 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 (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.0001562/1.292, allocations: 107.2 kB / 1.175 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003695/1.293, allocations: 115.9 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.293, allocations: 0 / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/1.293, allocations: 74.7 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/1.293, allocations: 36.8 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/1.294, allocations: 0.5954 MB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/1.295, allocations: 0.728 MB / 1.177 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/1.295, allocations: 19.44 kB / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of SimCode: time 2.134e-06/1.295, allocations: 0 / 1.177 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of Templates: time 0.004709/1.299, allocations: 1.974 MB / 1.179 GB, free: 7.496 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches