Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 61 kB / 307 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08184, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004411/0.08629, allocations: 3.508 MB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.08788, allocations: 0.9813 MB / 362.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.08816, allocations: 7.938 kB / 362.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.08853, allocations: 107.1 kB / 362.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004364/0.08898, allocations: 182.4 kB / 362.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.08927, allocations: 127.8 kB / 362.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006458/0.08993, allocations: 0.6263 MB / 363.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.09021, allocations: 199 kB / 363.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.09052, allocations: 239.1 kB / 363.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.0909, allocations: 270.8 kB / 363.8 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.091, allocations: 52 kB / 363.8 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.09111, allocations: 56 kB / 363.9 MB, free: 7.621 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.09121, allocations: 123.5 kB / 364 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.09148, allocations: 290.7 kB / 364.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.09204, allocations: 0.6268 MB / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.09206, allocations: 4 kB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09206, allocations: 0 / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.09209, allocations: 0 / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001272/0.09337, allocations: 0.8544 MB / 365.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.09341, allocations: 8.031 kB / 365.8 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.09352, allocations: 71.72 kB / 365.9 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.09364, allocations: 68.12 kB / 365.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.09409, allocations: 391.1 kB / 366.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.0942, allocations: 63.25 kB / 366.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.09426, allocations: 40.22 kB / 366.4 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.09502, allocations: 474.1 kB / 366.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.09505, allocations: 0 / 366.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.09509, allocations: 15.94 kB / 366.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.09511, allocations: 8 kB / 366.9 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.09569, allocations: 287.8 kB / 367.2 MB, free: 4.16 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.09773, allocations: 1.308 MB / 368.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.09883, allocations: 428.5 kB / 368.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.09918, allocations: 144.6 kB / 369.1 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.09923, allocations: 11.97 kB / 369.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.09926, allocations: 42.5 kB / 369.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.523e-06/0.09927, allocations: 0 / 369.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001105/0.1004, allocations: 0.6024 MB / 369.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/0.1006, allocations: 445 kB / 370.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1011, allocations: 454 kB / 370.6 MB, free: 472 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.1011, allocations: 29.7 kB / 370.6 MB, free: 436 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1013, allocations: 236.3 kB / 370.8 MB, free: 196 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.1014, allocations: 114.4 kB / 371 MB, free: 80 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1321/0.2335, allocations: 74.03 kB / 371 MB, free: 0 / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2337, allocations: 353.8 kB / 371.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.234, allocations: 108.5 kB / 371.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.2344, allocations: 253.5 kB / 371.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005125/0.2349, allocations: 281.5 kB / 372 MB, free: 19.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2349, allocations: 0.8125 kB / 372 MB, free: 19.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007748/0.2357, allocations: 416.5 kB / 372.4 MB, free: 19.69 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2357, allocations: 38.42 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.2357, allocations: 1.031 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.2359, allocations: 52.75 kB / 372.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.2362, allocations: 67.09 kB / 372.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.238, allocations: 2.98 MB / 375.5 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.2384, allocations: 43.08 kB / 375.6 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.2384, allocations: 8.969 kB / 375.6 MB, free: 16.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.2386, allocations: 172 kB / 375.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.2387, allocations: 54.03 kB / 375.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.629e-05/0.2388, allocations: 48.94 kB / 375.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2388, allocations: 7.125 kB / 375.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.2388, allocations: 5.031 kB / 375.9 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000531/0.2393, allocations: 0.6511 MB / 376.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2405, allocations: 0.9037 MB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2405, allocations: 1.969 kB / 377.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.2409, allocations: 71.2 kB / 377.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2409, allocations: 2.344 kB / 377.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2409, allocations: 10.03 kB / 377.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2409, allocations: 3.672 kB / 377.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2409, allocations: 1.219 kB / 377.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.2417, allocations: 0.5179 MB / 378 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.2418, allocations: 161.9 kB / 378.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.2419, allocations: 8.219 kB / 378.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.2422, allocations: 19.11 kB / 378.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.2423, allocations: 19.19 kB / 378.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2423, allocations: 6.953 kB / 378.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003037/0.2426, allocations: 322.9 kB / 378.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2426, allocations: 3.5 kB / 378.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004082/0.243, allocations: 135.3 kB / 378.7 MB, free: 15 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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.0008578/0.2439, allocations: 1.072 MB / 379.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.2447, allocations: 0.5729 MB / 380.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2447, allocations: 1.25 kB / 380.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.2449, allocations: 124 kB / 380.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.2456, allocations: 136.5 kB / 380.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.2503, allocations: 4.395 MB / 385 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2505, allocations: 0.8172 MB / 385.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.2508, allocations: 61.75 kB / 385.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.251, allocations: 165.8 kB / 386 MB, free: 10.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.251, allocations: 0 / 386 MB, free: 10.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.2834, allocations: 12.53 MB / 398.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.9, allocations: 10.12 kB / 398.6 MB, free: 5.383 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches