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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001446, allocations: 108 kB / 15.6 MB, free: 132 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.001658/0.001658, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6647 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.91 kB / 0.8127 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5966, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002174/0.5988, allocations: 1.256 MB / 0.951 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.6, allocations: 0.8437 MB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.6001, allocations: 1.031 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.6002, allocations: 9.75 kB / 0.9518 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.6003, allocations: 16.86 kB / 0.9518 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.6008, allocations: 181.2 kB / 0.952 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.6008, allocations: 16.31 kB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.6009, allocations: 2.75 kB / 0.952 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.6009, allocations: 10.78 kB / 0.952 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.601, allocations: 7.812 kB / 0.952 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.601, allocations: 9.531 kB / 0.9521 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.6013, allocations: 238.9 kB / 0.9523 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.6014, allocations: 16.86 kB / 0.9523 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.6014, allocations: 16.64 kB / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.6017, allocations: 215.8 kB / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6017, allocations: 0 / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6018, allocations: 0 / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.6018, allocations: 1.531 kB / 0.9525 GB, free: 7.148 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.000313/0.6021, allocations: 381.2 kB / 0.9529 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6021, allocations: 13.94 kB / 0.9529 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.6022, allocations: 30.75 kB / 0.9529 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.6022, allocations: 7.625 kB / 0.9529 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.6023, allocations: 176.2 kB / 0.9531 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.6023, allocations: 384 / 0.9531 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.6023, allocations: 9.328 kB / 0.9531 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.821e-05/0.6024, allocations: 54.33 kB / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6024, allocations: 1.156 kB / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.6024, allocations: 0 / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6024, allocations: 0 / 0.9532 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.6025, allocations: 34.92 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.6026, allocations: 178.5 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.6027, allocations: 51.56 kB / 0.9534 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.6028, allocations: 25.81 kB / 0.9534 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.6028, allocations: 7.625 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.6028, allocations: 31.91 kB / 0.9535 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.6028, allocations: 4 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001555/0.603, allocations: 84.27 kB / 0.9536 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.603, allocations: 52.66 kB / 0.9536 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.6031, allocations: 137.4 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.6031, allocations: 25.7 kB / 0.9538 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.6032, allocations: 94.53 kB / 0.9539 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.6032, allocations: 9.438 kB / 0.9539 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.6032, allocations: 19.5 kB / 0.9539 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.6033, allocations: 324.3 kB / 0.9542 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.322e-05/0.6033, allocations: 41.98 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.461e-05/0.6034, allocations: 50.5 kB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.6035, allocations: 96.58 kB / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.6035, allocations: 0 / 0.9544 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001293/0.6036, allocations: 137.9 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.6036, allocations: 4.906 kB / 0.9545 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6036, allocations: 3.984 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6037, allocations: 1.188 kB / 0.9545 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/0.6037, allocations: 6.438 kB / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6037, allocations: 1.219 kB / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.6038, allocations: 1.219 kB / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.6038, allocations: 1.25 kB / 0.9545 GB, free: 5.27 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.182e-05/0.6038, allocations: 127.3 kB / 0.9546 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.6038, allocations: 5.156 kB / 0.9547 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.6039, allocations: 66.19 kB / 0.9547 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6039, allocations: 1.156 kB / 0.9547 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.604, allocations: 4.031 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.604, allocations: 3.984 kB / 0.9547 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.045e-05/0.604, allocations: 174.7 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6041, allocations: 1.25 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.6041, allocations: 2.375 kB / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.6041, allocations: 0 / 0.9549 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.6041, allocations: 5.141 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6041, allocations: 0 / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6041, allocations: 1.219 kB / 0.9549 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.6042, allocations: 101.7 kB / 0.955 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.6042, allocations: 83.27 kB / 0.9551 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.6042, allocations: 5.266 kB / 0.9551 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.6043, allocations: 0 / 0.9551 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.6043, allocations: 1.312 kB / 0.9551 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6043, allocations: 4 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.6043, allocations: 103.3 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6043, allocations: 1.406 kB / 0.9552 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002717/0.6046, allocations: 62.98 kB / 0.9552 GB, free: 4.578 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.0004908/0.6051, allocations: 0.7063 MB / 0.9559 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.6053, allocations: 69.59 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6053, allocations: 0 / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.6053, allocations: 17.25 kB / 0.956 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6056, allocations: 27.36 kB / 0.956 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.6067, allocations: 1.528 MB / 0.9575 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.6068, allocations: 0.6952 MB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.6068, allocations: 4.125 kB / 0.9582 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.6069, allocations: 12.81 kB / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6069, allocations: 0 / 0.9582 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.6306, allocations: 3.365 MB / 0.9615 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.258, allocations: 7.156 kB / 0.9615 GB, free: 200 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > 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