Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001291/0.001291, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 50.53 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003279/0.2446, allocations: 2.519 MB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2456, allocations: 0.6778 MB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2457, allocations: 4 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.2459, allocations: 35.64 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.246, allocations: 71.34 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2462, allocations: 59.92 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.2465, allocations: 266.8 kB / 412.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.2467, allocations: 107.4 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2468, allocations: 91.66 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.247, allocations: 115.5 kB / 412.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.247, allocations: 24 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.2471, allocations: 24 kB / 412.7 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.139e-05/0.2471, allocations: 43.84 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2473, allocations: 119.5 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.2476, allocations: 258 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2476, allocations: 0 / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2476, allocations: 4 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2476, allocations: 4 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008898/0.2485, allocations: 0.5456 MB / 413.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2485, allocations: 12.03 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.773e-05/0.2486, allocations: 59.14 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.2487, allocations: 32.75 kB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.249, allocations: 236.4 kB / 414 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.249, allocations: 12.81 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.2491, allocations: 24.38 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.2495, allocations: 237.9 kB / 414.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2495, allocations: 0 / 414.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.2495, allocations: 11.94 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2496, allocations: 8 kB / 414.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003861/0.2499, allocations: 153.7 kB / 414.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.2512, allocations: 0.8129 MB / 415.3 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.2516, allocations: 166.5 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2518, allocations: 80.77 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2518, allocations: 7.984 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.2518, allocations: 34.5 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.2518, allocations: 0 / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008595/0.2527, allocations: 343.3 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.2527, allocations: 51.41 kB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2529, allocations: 178.6 kB / 416.1 MB, free: 9.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2529, allocations: 33.7 kB / 416.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.253, allocations: 152.4 kB / 416.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.2531, allocations: 51.48 kB / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.2531, allocations: 45.7 kB / 416.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2533, allocations: 326.8 kB / 416.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2534, allocations: 51.97 kB / 416.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.2536, allocations: 95.81 kB / 416.8 MB, free: 9.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.2539, allocations: 147.2 kB / 417 MB, free: 8.973 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2539, allocations: 4 kB / 417 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004358/0.2544, allocations: 218.1 kB / 417.2 MB, free: 8.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2544, allocations: 8 kB / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2544, allocations: 0 / 417.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.2546, allocations: 36.91 kB / 417.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2547, allocations: 35.97 kB / 417.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.2559, allocations: 1.473 MB / 418.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.256, allocations: 35.84 kB / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2561, allocations: 8 kB / 418.8 MB, free: 7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.2562, allocations: 137.7 kB / 418.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.2562, allocations: 15.91 kB / 419 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.2563, allocations: 29.92 kB / 419 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2563, allocations: 0 / 419 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2563, allocations: 3.938 kB / 419 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2563, allocations: 0 / 419 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.257, allocations: 0.5146 MB / 419.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.257, allocations: 3.938 kB / 419.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2572, allocations: 31.97 kB / 419.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.2573, allocations: 32.84 kB / 419.6 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2573, allocations: 4 kB / 419.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.2584, allocations: 1.461 MB / 421 MB, free: 4.555 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2584, allocations: 4.031 kB / 421 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005902/0.259, allocations: 359.5 kB / 421.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.2591, allocations: 108.9 kB / 421.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2591, allocations: 8 kB / 421.5 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2593, allocations: 19.98 kB / 421.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.2594, allocations: 19.91 kB / 421.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/0.2594, allocations: 4 kB / 421.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.2595, allocations: 128.3 kB / 421.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2595, allocations: 4.062 kB / 421.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.2598, allocations: 63.89 kB / 421.7 MB, free: 3.816 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008448/0.2606, allocations: 0.8913 MB / 422.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2611, allocations: 250.5 kB / 422.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2611, allocations: 0 / 422.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2614, allocations: 194.8 kB / 423.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2617, allocations: 35.92 kB / 423.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2643, allocations: 2.222 MB / 425.3 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.2648, allocations: 0.7359 MB / 426.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.679e-05/0.2648, allocations: 17.55 kB / 426.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.2649, allocations: 55.36 kB / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2649, allocations: 0 / 426.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2892, allocations: 4.521 MB / 430.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/9.394, allocations: 12 kB / 430.7 MB, free: 10.86 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches