Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.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) 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(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",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.001883/0.001883, allocations: 106.5 kB / 17.06 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002412/0.002412, allocations: 193.4 kB / 18 MB, free: 5.172 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.558/1.558, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 51.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3397, allocations: 49.44 MB / 400.3 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl): time 0.003827/0.3436, allocations: 2.071 MB / 402.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3447, allocations: 0.5496 MB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.3449, allocations: 4 kB / 402.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.345, allocations: 23.67 kB / 402.9 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.3454, allocations: 75.42 kB / 403 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3456, allocations: 63.84 kB / 403 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.346, allocations: 255.1 kB / 403.3 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3462, allocations: 64.69 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.3464, allocations: 103.4 kB / 403.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3466, allocations: 131.3 kB / 403.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.3467, allocations: 20 kB / 403.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.3467, allocations: 20 kB / 403.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.3468, allocations: 63.69 kB / 403.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.347, allocations: 123.1 kB / 403.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.3474, allocations: 233.8 kB / 404 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.3474, allocations: 0 / 404 MB, free: 5.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3474, allocations: 4 kB / 404 MB, free: 5.008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.08e-05/0.3474, allocations: 0 / 404 MB, free: 5.008 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.00149/0.3489, allocations: 0.6071 MB / 404.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.349, allocations: 11.97 kB / 404.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.3491, allocations: 42.75 kB / 404.7 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.473e-05/0.3491, allocations: 36.69 kB / 404.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.3496, allocations: 300.4 kB / 405 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.3496, allocations: 15.94 kB / 405 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.3496, allocations: 19.88 kB / 405.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.35, allocations: 129.6 kB / 405.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.35, allocations: 4 kB / 405.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.35, allocations: 0 / 405.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.35, allocations: 4 kB / 405.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.3502, allocations: 75.95 kB / 405.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.3511, allocations: 0.5236 MB / 405.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005358/0.3517, allocations: 174.7 kB / 406 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3518, allocations: 69.02 kB / 406 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.3519, allocations: 7.984 kB / 406 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.3519, allocations: 38.56 kB / 406.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3519, allocations: 0 / 406.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001644/0.3535, allocations: 0.6538 MB / 406.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.3536, allocations: 59.39 kB / 406.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.354, allocations: 332.6 kB / 407.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.3541, allocations: 29.7 kB / 407.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3542, allocations: 160.3 kB / 407.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.827e-05/0.3543, allocations: 63.44 kB / 407.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.3544, allocations: 37.7 kB / 407.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3545, allocations: 350.7 kB / 407.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3547, allocations: 59.97 kB / 407.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.3548, allocations: 57.48 kB / 407.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3551, allocations: 146.9 kB / 408 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3551, allocations: 0 / 408 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003933/0.3555, allocations: 205.4 kB / 408.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3555, allocations: 8 kB / 408.2 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3556, allocations: 4 kB / 408.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3556, allocations: 0 / 408.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3559, allocations: 67.83 kB / 408.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3559, allocations: 0 / 408.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3561, allocations: 11.94 kB / 408.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.3561, allocations: 8 kB / 408.3 MB, free: 476 kB / 318.1 MB 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 (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 0.0001471/0.3562, allocations: 137.8 kB / 408.4 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.3563, allocations: 27.81 kB / 408.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.3568, allocations: 224.6 kB / 408.7 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3568, allocations: 3.938 kB / 408.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3568, allocations: 0 / 408.7 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3568, allocations: 3.984 kB / 408.7 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.3572, allocations: 321.4 kB / 409 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3573, allocations: 3.938 kB / 409 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.3576, allocations: 63.83 kB / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3576, allocations: 0 / 409.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.3577, allocations: 15.98 kB / 409.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3577, allocations: 3.938 kB / 409.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3577, allocations: 0 / 409.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.3584, allocations: 385.3 kB / 409.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3585, allocations: 109 kB / 409.6 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3585, allocations: 8 kB / 409.6 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3587, allocations: 11.92 kB / 409.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.3588, allocations: 19.89 kB / 409.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3589, allocations: 4 kB / 409.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002924/0.3591, allocations: 251 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3592, allocations: 0 / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.3595, allocations: 48 kB / 409.9 MB, free: 14.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.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 (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.3605, allocations: 0.9192 MB / 410.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.3609, allocations: 165.7 kB / 411 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3609, allocations: 0 / 411 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.3611, allocations: 83.91 kB / 411.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3615, allocations: 40.67 kB / 411.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.3663, allocations: 3.064 MB / 414.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.3668, allocations: 0.7673 MB / 414.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.367, allocations: 34.28 kB / 415 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.3672, allocations: 95.39 kB / 415.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3672, allocations: 0 / 415.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.4176, allocations: 5.678 MB / 420.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/9.267, allocations: 11.72 kB / 420.8 MB, free: 3.984 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Modelica_4_0_0_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/Utilities/ComponentsMixingUnit/MixingUnitWithContinuousControl/MixingUnitWithContinuousControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches