Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007766/0.0007766, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9102/0.9102, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.949e-05, allocations: 6.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002258/0.002277, allocations: 1.297 MB / 0.9823 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.003636, allocations: 0.8412 MB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.003665, allocations: 0 / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.003866, allocations: 7.984 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.687e-05/0.003893, allocations: 4 kB / 0.9831 GB, free: 416 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006496/0.004543, allocations: 202.6 kB / 0.9833 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.004621, allocations: 15.92 kB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.498e-05/0.004656, allocations: 4 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.004696, allocations: 8 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.004745, allocations: 11.97 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.004757, allocations: 0 / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.005178, allocations: 255.5 kB / 0.9836 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.005233, allocations: 15.98 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.005254, allocations: 11.94 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.005619, allocations: 267.3 kB / 0.9839 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005622, allocations: 0 / 0.9839 GB, free: 15.63 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.005623, allocations: 0 / 0.9839 GB, free: 15.63 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.005628, allocations: 0 / 0.9839 GB, free: 15.63 MB / 0.948 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.0003594/0.005987, allocations: 301.9 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006031, allocations: 8.031 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.169e-05/0.006062, allocations: 30.75 kB / 0.9842 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.006087, allocations: 8.891 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.006189, allocations: 121.7 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.006201, allocations: 384 / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.00621, allocations: 4.375 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.006323, allocations: 50.2 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006331, allocations: 192 / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.006341, allocations: 8.125 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006347, allocations: 4 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.61e-05/0.006403, allocations: 35.97 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.006573, allocations: 140.8 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.00665, allocations: 50.56 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.08e-05/0.006681, allocations: 20.91 kB / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.006726, allocations: 11.94 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.006754, allocations: 42.5 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.006755, allocations: 0 / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.006929, allocations: 85.56 kB / 0.9847 GB, free: 14.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.006963, allocations: 55.41 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.007069, allocations: 140.6 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.007082, allocations: 25.7 kB / 0.985 GB, free: 14.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.007128, allocations: 96.12 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.007145, allocations: 3.953 kB / 0.985 GB, free: 14.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.007182, allocations: 21.77 kB / 0.9851 GB, free: 14.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.915e-05/0.007271, allocations: 326.8 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.007325, allocations: 43.97 kB / 0.9854 GB, free: 13.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.375e-05/0.007368, allocations: 39.98 kB / 0.9855 GB, free: 13.81 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.598e-05/0.007464, allocations: 104.8 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007467, allocations: 0 / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001109/0.007578, allocations: 125.6 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.00759, allocations: 4 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.007597, allocations: 4.078 kB / 0.9857 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.007611, allocations: 3.938 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.007662, allocations: 0 / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.007668, allocations: 11.98 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.00768, allocations: 3.938 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.007684, allocations: 0 / 0.9857 GB, free: 13.55 MB / 0.948 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.707e-05/0.007741, allocations: 121.8 kB / 0.9858 GB, free: 13.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.007746, allocations: 3.953 kB / 0.9858 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.00783, allocations: 85.23 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.007834, allocations: 4.031 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.007839, allocations: 0 / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007843, allocations: 3.984 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.129e-05/0.007914, allocations: 144.7 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.007915, allocations: 4.031 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-06/0.007923, allocations: 4 kB / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-07/0.007924, allocations: 0 / 0.9861 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.00793, allocations: 4 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007931, allocations: 3.938 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.007932, allocations: 0 / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.147e-05/0.007993, allocations: 100.9 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.008, allocations: 7.953 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.008009, allocations: 0 / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/0.008016, allocations: 3.938 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.008027, allocations: 8.031 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-07/0.008028, allocations: 0 / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.008069, allocations: 107.2 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008069, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001851/0.008254, allocations: 63.86 kB / 0.9863 GB, free: 12.82 MB / 0.948 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.0004247/0.008679, allocations: 0.7022 MB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.008781, allocations: 67.94 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.008782, allocations: 0 / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.008796, allocations: 23.98 kB / 0.9871 GB, free: 11.99 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.008995, allocations: 26.3 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/0.009889, allocations: 1.532 MB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.14e-05/0.00993, allocations: 79.27 kB / 0.9887 GB, free: 10.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.009952, allocations: 8.062 kB / 0.9887 GB, free: 10.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.00998, allocations: 12.5 kB / 0.9887 GB, free: 10.24 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.00998, allocations: 4 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.02682, allocations: 4.148 MB / 0.9928 GB, free: 6.348 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.217, allocations: 5.078 kB / 0.9928 GB, free: 6.348 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.239496485330164]