Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r_P",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 100.1 kB / 15.88 MB, free: 12 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.001717/0.001717, allocations: 199 kB / 16.79 MB, free: 6.809 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.605 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.444/2.444, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7054/0.7069, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002186/0.7092, allocations: 1.338 MB / 0.9509 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.7104, allocations: 0.8725 MB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.7105, allocations: 0 / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.7107, allocations: 13.48 kB / 0.9518 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.7107, allocations: 5.312 kB / 0.9518 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.7112, allocations: 146.2 kB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.7112, allocations: 17.56 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.7113, allocations: 1.375 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.7113, allocations: 6.734 kB / 0.9519 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.7114, allocations: 8.125 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.7114, allocations: 5.312 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003617/0.7117, allocations: 235.3 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.7118, allocations: 15.48 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.7118, allocations: 12.91 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.7121, allocations: 144.5 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7121, allocations: 1.312 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7121, allocations: 0 / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.7121, allocations: 0 / 0.9524 GB, free: 7.109 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003388/0.7124, allocations: 382 kB / 0.9527 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.7125, allocations: 9.531 kB / 0.9527 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.7125, allocations: 8 kB / 0.9527 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.7126, allocations: 183 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.7126, allocations: 1.625 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.7126, allocations: 13.5 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.444e-05/0.7127, allocations: 45.84 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.7128, allocations: 0 / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.7128, allocations: 1.25 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.7128, allocations: 0 / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.7128, allocations: 33.86 kB / 0.953 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.713, allocations: 175.6 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.713, allocations: 54.75 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.7131, allocations: 29.72 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.7131, allocations: 4.25 kB / 0.9533 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.7131, allocations: 38.56 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7131, allocations: 1.469 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000165/0.7133, allocations: 84.27 kB / 0.9534 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.7133, allocations: 51.41 kB / 0.9534 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.7134, allocations: 138 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.7135, allocations: 25.7 kB / 0.9536 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.445e-05/0.7135, allocations: 95.81 kB / 0.9537 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.7135, allocations: 7.906 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.7136, allocations: 16.69 kB / 0.9537 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.7136, allocations: 324.2 kB / 0.954 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.314e-05/0.7137, allocations: 41.89 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.7137, allocations: 42.28 kB / 0.9541 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.718e-05/0.7138, allocations: 91.73 kB / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7138, allocations: 0 / 0.9542 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001312/0.714, allocations: 134.3 kB / 0.9543 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.714, allocations: 5.875 kB / 0.9543 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.714, allocations: 3.984 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.714, allocations: 1.156 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.389e-05/0.7141, allocations: 10 kB / 0.9543 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7141, allocations: 5.188 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.7141, allocations: 4.969 kB / 0.9543 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.7141, allocations: 1.125 kB / 0.9543 GB, free: 5.273 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 5.494e-05/0.7142, allocations: 118.8 kB / 0.9544 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.7142, allocations: 11 kB / 0.9544 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.7143, allocations: 73.53 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7143, allocations: 3.984 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.7143, allocations: 12.95 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7143, allocations: 0 / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.732e-05/0.7144, allocations: 170.5 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7144, allocations: 1.188 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.7144, allocations: 2.469 kB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7145, allocations: 9.266 kB / 0.9547 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.7145, allocations: 3.938 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7145, allocations: 0 / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7145, allocations: 1.312 kB / 0.9547 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.7146, allocations: 101.7 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.7146, allocations: 83.11 kB / 0.9549 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.7146, allocations: 5.016 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.7146, allocations: 0 / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.7146, allocations: 1.125 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.7146, allocations: 1.094 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.7147, allocations: 102.9 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7147, allocations: 1.125 kB / 0.955 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002917/0.715, allocations: 67.58 kB / 0.9551 GB, free: 4.566 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003275/0.7153, allocations: 163.3 kB / 0.9552 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.7155, allocations: 69.44 kB / 0.9553 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7155, allocations: 0 / 0.9553 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.7155, allocations: 22.52 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.7158, allocations: 32.08 kB / 0.9553 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.7161, allocations: 192.4 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.7162, allocations: 0.6919 MB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.7162, allocations: 13.81 kB / 0.9562 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7162, allocations: 0 / 0.9562 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.003131/0.7193, allocations: 1.686 MB / 0.9579 GB, free: 2.672 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches