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.0009512/0.0009512, allocations: 92.23 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 183.9 kB / 16.92 MB, free: 6.926 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.34 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.377/2.377, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.000363, allocations: 16 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6831, allocations: 142.4 MB / 0.9557 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.002186/0.6854, allocations: 1.931 MB / 0.9576 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009219/0.6863, allocations: 0.6954 MB / 0.9583 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.6864, allocations: 4.312 kB / 0.9583 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.6868, allocations: 88.06 kB / 0.9584 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.498e-05/0.6869, allocations: 59.41 kB / 0.9584 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.742e-05/0.687, allocations: 32.45 kB / 0.9585 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.6872, allocations: 206.7 kB / 0.9587 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.6873, allocations: 67.59 kB / 0.9587 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.6874, allocations: 66.7 kB / 0.9588 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.6876, allocations: 77.38 kB / 0.9589 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.6876, allocations: 6.875 kB / 0.9589 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-05/0.6876, allocations: 5.906 kB / 0.9589 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.6876, allocations: 25.5 kB / 0.9589 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.6877, allocations: 116.8 kB / 0.959 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.6879, allocations: 130.7 kB / 0.9591 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.6879, allocations: 0 / 0.9591 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6879, allocations: 1 kB / 0.9591 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.6879, allocations: 0 / 0.9591 GB, free: 5.254 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.0005623/0.6884, allocations: 469 kB / 0.9596 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.6885, allocations: 9.25 kB / 0.9596 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.6885, allocations: 23.34 kB / 0.9596 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.6888, allocations: 248.9 kB / 0.9598 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.6888, allocations: 15.06 kB / 0.9599 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.6889, allocations: 14.44 kB / 0.9599 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.6892, allocations: 154.6 kB / 0.96 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6892, allocations: 0 / 0.96 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6892, allocations: 5.438 kB / 0.96 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6892, allocations: 4.469 kB / 0.96 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/0.6895, allocations: 121.7 kB / 0.9601 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.6901, allocations: 0.4992 MB / 0.9606 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.6905, allocations: 180.6 kB / 0.9608 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.6907, allocations: 83.38 kB / 0.9609 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.6907, allocations: 1.375 kB / 0.9609 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.6907, allocations: 35.94 kB / 0.9609 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.6907, allocations: 5.375 kB / 0.9609 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0004726/0.6912, allocations: 215.1 kB / 0.9611 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.6912, allocations: 56.78 kB / 0.9612 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6913, allocations: 158.4 kB / 0.9613 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.6914, allocations: 31.05 kB / 0.9614 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.6914, allocations: 124 kB / 0.9615 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.6914, allocations: 54 kB / 0.9615 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.6915, allocations: 20.72 kB / 0.9616 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.6915, allocations: 326.3 kB / 0.9619 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.6917, allocations: 53.31 kB / 0.9619 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.6918, allocations: 56.62 kB / 0.962 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.692, allocations: 123.5 kB / 0.9621 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.692, allocations: 0 / 0.9621 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003133/0.6924, allocations: 178.6 kB / 0.9623 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6924, allocations: 7.5 kB / 0.9623 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.6924, allocations: 0 / 0.9623 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6924, allocations: 2 kB / 0.9623 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.6926, allocations: 44.72 kB / 0.9623 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6926, allocations: 1.094 kB / 0.9623 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.6927, allocations: 17.81 kB / 0.9623 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.6927, allocations: 6.219 kB / 0.9623 GB, free: 2.652 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.6928, allocations: 132.9 kB / 0.9625 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.6929, allocations: 14.25 kB / 0.9625 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.6929, allocations: 20.66 kB / 0.9625 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6929, allocations: 1.969 kB / 0.9625 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6929, allocations: 5.031 kB / 0.9625 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6929, allocations: 0 / 0.9625 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.6931, allocations: 253.4 kB / 0.9627 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6932, allocations: 0.9688 kB / 0.9627 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.6934, allocations: 40.97 kB / 0.9628 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6934, allocations: 1.188 kB / 0.9628 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6934, allocations: 9.156 kB / 0.9628 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6934, allocations: 1.062 kB / 0.9628 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6934, allocations: 0 / 0.9628 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.6939, allocations: 338.9 kB / 0.9631 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.6939, allocations: 98.95 kB / 0.9632 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.694, allocations: 4.984 kB / 0.9632 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.6941, allocations: 20.03 kB / 0.9632 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.6941, allocations: 16.12 kB / 0.9633 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6942, allocations: 3.312 kB / 0.9633 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.491e-05/0.6942, allocations: 121.7 kB / 0.9634 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6942, allocations: 0 / 0.9634 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002831/0.6945, allocations: 39.75 kB / 0.9634 GB, free: 1.742 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 (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.0001015/0.6946, allocations: 110.8 kB / 0.9635 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.6949, allocations: 132.4 kB / 0.9636 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.695, allocations: 0 / 0.9636 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.6951, allocations: 66.56 kB / 0.9637 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.6955, allocations: 28.42 kB / 0.9637 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.6964, allocations: 0.7383 MB / 0.9645 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.6965, allocations: 0.7238 MB / 0.9652 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.6966, allocations: 16.41 kB / 0.9652 GB, free: 252 kB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6966, allocations: 5.312 kB / 0.9652 GB, free: 248 kB / 0.7169 GB Notification: Performance of Templates: time 0.00367/0.7003, allocations: 1.931 MB / 0.9671 GB, free: 15.26 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches