Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 180.2 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205 MB / 221.2 MB, free: 1.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006904/0.0006904, allocations: 98.23 kB / 269.2 MB, free: 1.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.496/0.496, allocations: 90.51 MB / 407.6 MB, free: 15.09 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003075, allocations: 8 kB / 484.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 65.82 MB / 0.5372 GB, free: 1.578 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.39/0.4922, allocations: 185.4 MB / 0.7183 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.5121, allocations: 17.65 MB / 0.7355 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.5136, allocations: 27.88 kB / 0.7355 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.5156, allocations: 0.8511 MB / 0.7364 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.5201, allocations: 2.075 MB / 0.7384 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.5239, allocations: 1.611 MB / 0.74 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.5277, allocations: 4.244 MB / 0.7441 GB, free: 4.031 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.5283, allocations: 349.6 kB / 0.7444 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.5301, allocations: 1.225 MB / 0.7456 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.5315, allocations: 1.424 MB / 0.747 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.5317, allocations: 76 kB / 0.7471 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.5364, allocations: 2.631 MB / 0.7497 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.5367, allocations: 326.4 kB / 0.75 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.5375, allocations: 0.882 MB / 0.7508 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.541, allocations: 2.886 MB / 0.7537 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.541, allocations: 4 kB / 0.7537 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.541, allocations: 0 / 0.7537 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.5411, allocations: 0 / 0.7537 GB, free: 10.2 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003059/0.5441, allocations: 1.962 MB / 0.7556 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.5442, allocations: 12.03 kB / 0.7556 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.5444, allocations: 211.3 kB / 0.7558 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005047/0.5449, allocations: 218.6 kB / 0.756 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.546, allocations: 0.8575 MB / 0.7568 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.5461, allocations: 111.2 kB / 0.7569 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.5463, allocations: 156.5 kB / 0.7571 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.5486, allocations: 1.637 MB / 0.7587 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5487, allocations: 3.938 kB / 0.7587 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.5488, allocations: 64 kB / 0.7587 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/0.5488, allocations: 36.88 kB / 0.7588 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.5511, allocations: 1.512 MB / 0.7603 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.212/0.7631, allocations: 7.164 MB / 0.7673 GB, free: 191.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/0.7659, allocations: 1.683 MB / 0.7689 GB, free: 191.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.7671, allocations: 0.7937 MB / 0.7697 GB, free: 191 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005102/0.7722, allocations: 5.996 MB / 0.7755 GB, free: 185.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.7722, allocations: 58.22 kB / 0.7756 GB, free: 185.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 3.006e-06/0.7722, allocations: 0 / 0.7756 GB, free: 185.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=172): time 0.005905/0.7781, allocations: 3.235 MB / 0.7787 GB, free: 183.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.7782, allocations: 173.1 kB / 0.7789 GB, free: 183.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.7793, allocations: 0.8797 MB / 0.7798 GB, free: 183.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.835e-05/0.7794, allocations: 57.89 kB / 0.7798 GB, free: 183.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.7798, allocations: 0.6274 MB / 0.7804 GB, free: 182.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.7802, allocations: 0.5872 MB / 0.781 GB, free: 182.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.7803, allocations: 30.97 kB / 0.781 GB, free: 182.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7804, allocations: 374.6 kB / 0.7814 GB, free: 181.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/0.7814, allocations: 0.5259 MB / 0.7819 GB, free: 181.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.7826, allocations: 0.8717 MB / 0.7828 GB, free: 181 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.7846, allocations: 1.511 MB / 0.7842 GB, free: 180.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.7846, allocations: 3.781 kB / 0.7842 GB, free: 180.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003087/0.7877, allocations: 1.9 MB / 0.7861 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.7878, allocations: 8.562 kB / 0.7861 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.7878, allocations: 9.5 kB / 0.7861 GB, free: 179.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.7884, allocations: 216.9 kB / 0.7863 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7896, allocations: 384 kB / 0.7867 GB, free: 179.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.7936, allocations: 7.142 MB / 0.7937 GB, free: 172.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.7946, allocations: 179.7 kB / 0.7938 GB, free: 172.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.7947, allocations: 75.48 kB / 0.7939 GB, free: 172.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005295/0.7953, allocations: 323.5 kB / 0.7942 GB, free: 171.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.7956, allocations: 153.4 kB / 0.7944 GB, free: 171.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.7994, allocations: 2.107 MB / 0.7964 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.7994, allocations: 22.16 kB / 0.7964 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.7994, allocations: 5.438 kB / 0.7964 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/0.7994, allocations: 10.14 kB / 0.7965 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.8053, allocations: 3.979 MB / 0.8003 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.8053, allocations: 2.438 kB / 0.8003 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.8062, allocations: 272.8 kB / 0.8006 GB, free: 168.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/0.8077, allocations: 462.3 kB / 0.801 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.8078, allocations: 56.58 kB / 0.8011 GB, free: 168.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.8122, allocations: 9.43 MB / 0.8103 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8123, allocations: 2.562 kB / 0.8103 GB, free: 159.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003892/0.8161, allocations: 3.04 MB / 0.8133 GB, free: 157.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.8165, allocations: 234.3 kB / 0.8135 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.8166, allocations: 43.42 kB / 0.8135 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009122/0.8175, allocations: 105.8 kB / 0.8136 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.8177, allocations: 131.5 kB / 0.8138 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.8178, allocations: 79.36 kB / 0.8138 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005339/0.8184, allocations: 0.5861 MB / 0.8144 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8184, allocations: 2.188 kB / 0.8144 GB, free: 156.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001792/0.8202, allocations: 0.7658 MB / 0.8152 GB, free: 156.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * 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 (151): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004679/0.8249, allocations: 4.271 MB / 0.8193 GB, free: 154.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.8275, allocations: 2.094 MB / 0.8214 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8275, allocations: 0 / 0.8214 GB, free: 152.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.8294, allocations: 1.516 MB / 0.8229 GB, free: 150.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.8315, allocations: 0.49 MB / 0.8233 GB, free: 150.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/0.8458, allocations: 14.26 MB / 0.8373 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.8463, allocations: 1.238 MB / 0.8385 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001077/0.8474, allocations: 315.5 kB / 0.8388 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006042/0.848, allocations: 0.6359 MB / 0.8394 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of SimCode: time 7.82e-07/0.848, allocations: 0 / 0.8394 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8588/1.707, allocations: 46.32 MB / 0.8846 GB, free: 87.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.707, allocations: 247 kB / 0.8849 GB, free: 86.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.458/5.165, allocations: 3.938 kB / 0.8849 GB, free: 86.75 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches