Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatCapacityVariableShade,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.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,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.HeatCapacityVariableShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001701/0.001701, allocations: 172.7 kB / 15.95 MB, free: 208 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.387/1.387, allocations: 223.3 MB / 240 MB, free: 5.402 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.395/2.395, allocations: 390.9 MB / 0.666 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 15.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.776, allocations: 142.4 MB / 0.9544 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.002617/0.7787, allocations: 1.876 MB / 0.9563 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009011/0.7796, allocations: 0.6558 MB / 0.9569 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.7798, allocations: 8.312 kB / 0.9569 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.7801, allocations: 87.64 kB / 0.957 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.7802, allocations: 55.3 kB / 0.9571 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.452e-05/0.7803, allocations: 28.38 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.7806, allocations: 192 kB / 0.9573 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.7808, allocations: 64.69 kB / 0.9573 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.7809, allocations: 69.44 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.7811, allocations: 74.03 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.7811, allocations: 6.969 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.7812, allocations: 8.062 kB / 0.9575 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.7812, allocations: 23.61 kB / 0.9575 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.7813, allocations: 57.83 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.7815, allocations: 130.3 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.7815, allocations: 0 / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7815, allocations: 0 / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.7815, allocations: 1.375 kB / 0.9577 GB, free: 5.133 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.0008115/0.7823, allocations: 469.9 kB / 0.9581 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.596e-05/0.7824, allocations: 9.656 kB / 0.9581 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.7825, allocations: 26.92 kB / 0.9582 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.7829, allocations: 246.8 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.783, allocations: 11.16 kB / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.7831, allocations: 17.31 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.7835, allocations: 149.6 kB / 0.9586 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.7835, allocations: 0 / 0.9586 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.7835, allocations: 9.562 kB / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.7835, allocations: 3.562 kB / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.7839, allocations: 129.9 kB / 0.9587 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.7848, allocations: 0.4957 MB / 0.9592 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.7853, allocations: 165.2 kB / 0.9593 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.7855, allocations: 82.02 kB / 0.9594 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.7855, allocations: 2.75 kB / 0.9594 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.7855, allocations: 31.94 kB / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.7855, allocations: 0 / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0005845/0.7861, allocations: 217.4 kB / 0.9597 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.7862, allocations: 53.38 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.7864, allocations: 165.1 kB / 0.9599 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.7864, allocations: 27.08 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.7865, allocations: 135.8 kB / 0.96 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.7865, allocations: 53.3 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.7866, allocations: 1.312 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.7867, allocations: 326.7 kB / 0.9604 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7868, allocations: 52.97 kB / 0.9604 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.7869, allocations: 52.19 kB / 0.9605 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.7871, allocations: 59.28 kB / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7871, allocations: 0 / 0.9606 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003658/0.7875, allocations: 180 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.7875, allocations: 4.219 kB / 0.9607 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7875, allocations: 4.859 kB / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7875, allocations: 1.062 kB / 0.9607 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.7877, allocations: 37.14 kB / 0.9608 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7878, allocations: 4.672 kB / 0.9608 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.7879, allocations: 22.2 kB / 0.9608 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.7879, allocations: 2.75 kB / 0.9608 GB, free: 2.582 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 0.000113/0.788, allocations: 130.2 kB / 0.9609 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.788, allocations: 18.62 kB / 0.9609 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.7881, allocations: 20.27 kB / 0.961 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7881, allocations: 1.375 kB / 0.961 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.7881, allocations: 5.375 kB / 0.961 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7881, allocations: 3.953 kB / 0.961 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.7884, allocations: 253.3 kB / 0.9612 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7884, allocations: 5.375 kB / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.7886, allocations: 40.98 kB / 0.9613 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7886, allocations: 5.359 kB / 0.9613 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7886, allocations: 0 / 0.9613 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.7886, allocations: 5.312 kB / 0.9613 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7886, allocations: 0 / 0.9613 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.7892, allocations: 334 kB / 0.9616 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.7893, allocations: 98.2 kB / 0.9617 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.7893, allocations: 9.734 kB / 0.9617 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.7894, allocations: 15.2 kB / 0.9617 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.7895, allocations: 8.953 kB / 0.9617 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.7895, allocations: 7.031 kB / 0.9617 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.922e-05/0.7896, allocations: 112.3 kB / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7896, allocations: 0 / 0.9618 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002731/0.7899, allocations: 44 kB / 0.9619 GB, free: 1.676 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.0001607/0.7901, allocations: 118.7 kB / 0.962 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.7904, allocations: 126.8 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7904, allocations: 0 / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.7906, allocations: 79.05 kB / 0.9622 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.791, allocations: 26.17 kB / 0.9622 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.792, allocations: 0.6915 MB / 0.9629 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.7922, allocations: 0.7275 MB / 0.9636 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.605e-05/0.7923, allocations: 17.05 kB / 0.9636 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.7923, allocations: 15.94 kB / 0.9636 GB, free: 208 kB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.7923, allocations: 0 / 0.9636 GB, free: 208 kB / 0.7169 GB Notification: Performance of Templates: time 0.004933/0.7973, allocations: 1.297 MB / 0.9649 GB, free: 15.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches