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.001399/0.001399, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001475/0.001475, allocations: 193.7 kB / 17.31 MB, free: 5.613 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 67.75 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003878/0.325, allocations: 2.221 MB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3262, allocations: 0.7204 MB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3263, allocations: 4 kB / 0.954 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.3267, allocations: 99.39 kB / 0.9541 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.3268, allocations: 71.41 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.187e-05/0.327, allocations: 39.95 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.3272, allocations: 211 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3274, allocations: 74.44 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3276, allocations: 87.62 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.3277, allocations: 79.62 kB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.3277, allocations: 16 kB / 0.9547 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.092e-05/0.3278, allocations: 16 kB / 0.9547 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.3278, allocations: 39.78 kB / 0.9547 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.3279, allocations: 95.53 kB / 0.9548 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3281, allocations: 175.3 kB / 0.955 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3281, allocations: 3.984 kB / 0.955 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3281, allocations: 4 kB / 0.955 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3281, allocations: 4 kB / 0.955 GB, free: 4.082 MB / 0.7325 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.0008215/0.329, allocations: 486.7 kB / 0.9554 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.329, allocations: 11.97 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3291, allocations: 24.66 kB / 0.9555 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.3295, allocations: 252.5 kB / 0.9557 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3295, allocations: 8.375 kB / 0.9557 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.3296, allocations: 20.38 kB / 0.9557 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.3299, allocations: 153.4 kB / 0.9559 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3299, allocations: 0 / 0.9559 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3299, allocations: 4 kB / 0.9559 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3299, allocations: 8 kB / 0.9559 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002818/0.3302, allocations: 107.9 kB / 0.956 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.331, allocations: 0.496 MB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.3314, allocations: 170.7 kB / 0.9567 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.3316, allocations: 72.83 kB / 0.9567 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3316, allocations: 4 kB / 0.9567 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.3316, allocations: 38.55 kB / 0.9568 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.3316, allocations: 0 / 0.9568 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0004937/0.3321, allocations: 193.5 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3322, allocations: 55.41 kB / 0.957 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.3324, allocations: 152.1 kB / 0.9571 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3324, allocations: 29.64 kB / 0.9572 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3326, allocations: 132.1 kB / 0.9573 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.3327, allocations: 55.25 kB / 0.9573 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3327, allocations: 33.7 kB / 0.9574 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3329, allocations: 330.8 kB / 0.9577 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.3331, allocations: 43.97 kB / 0.9577 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3332, allocations: 47.97 kB / 0.9578 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3334, allocations: 123 kB / 0.9579 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3334, allocations: 0 / 0.9579 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003052/0.3337, allocations: 164.1 kB / 0.9581 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3338, allocations: 4 kB / 0.9581 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3338, allocations: 3.984 kB / 0.9581 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3338, allocations: 0 / 0.9581 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.334, allocations: 43.92 kB / 0.9581 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.334, allocations: 0 / 0.9581 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.3341, allocations: 15.89 kB / 0.9581 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3341, allocations: 8 kB / 0.9581 GB, free: 0.6172 MB / 0.7325 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.0001157/0.3342, allocations: 133.7 kB / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.3342, allocations: 15.81 kB / 0.9583 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.3343, allocations: 25.52 kB / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3343, allocations: 0 / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3343, allocations: 0 / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3343, allocations: 0 / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.3347, allocations: 253.4 kB / 0.9585 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3347, allocations: 0 / 0.9585 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3349, allocations: 43.97 kB / 0.9586 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3349, allocations: 0 / 0.9586 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3349, allocations: 8 kB / 0.9586 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3349, allocations: 3.938 kB / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3349, allocations: 0 / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3354, allocations: 326.1 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.3355, allocations: 101 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.3356, allocations: 0 / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3357, allocations: 11.98 kB / 0.959 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.3357, allocations: 11.98 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3358, allocations: 0 / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.3358, allocations: 124.2 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3358, allocations: 0 / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002581/0.3361, allocations: 43.84 kB / 0.9592 GB, free: 15.45 MB / 0.7481 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.0001391/0.3363, allocations: 107.2 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3366, allocations: 115.9 kB / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3366, allocations: 0 / 0.9594 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3368, allocations: 71.83 kB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3371, allocations: 33.17 kB / 0.9595 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000961/0.3381, allocations: 0.5479 MB / 0.96 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3384, allocations: 0.7279 MB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.334e-05/0.3385, allocations: 25.52 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.3385, allocations: 15.44 kB / 0.9608 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.3385, allocations: 3.938 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of Templates: time 0.004686/0.3432, allocations: 1.458 MB / 0.9622 GB, free: 12.32 MB / 0.7481 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 -s cvode -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/jenkins1/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