Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) 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(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",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.002081/0.002081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003024/0.003024, allocations: 194.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.024/2.024, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.087/1.087, allocations: 93.72 MB / 384.1 MB, free: 6.977 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 86.2 kB / 463.5 MB, free: 22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2413, allocations: 68.26 MB / 0.5193 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.06493/0.3063, allocations: 37.01 MB / 0.5554 GB, free: 1.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0239/0.3302, allocations: 14.88 MB / 0.57 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.3313, allocations: 51.62 kB / 0.57 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003737/0.335, allocations: 0.9562 MB / 0.571 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006839/0.3419, allocations: 1.309 MB / 0.5722 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.3474, allocations: 1.023 MB / 0.5732 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005047/0.3524, allocations: 1.91 MB / 0.5751 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.3536, allocations: 346.8 kB / 0.5754 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002907/0.3565, allocations: 0.9496 MB / 0.5764 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.3586, allocations: 0.6996 MB / 0.577 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008087/0.3595, allocations: 88 kB / 0.5771 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00482/0.3643, allocations: 0.8624 MB / 0.578 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.3653, allocations: 322.6 kB / 0.5783 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.3672, allocations: 0.7182 MB / 0.579 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007909/0.3751, allocations: 2.044 MB / 0.581 GB, free: 7.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.3752, allocations: 8 kB / 0.581 GB, free: 7.508 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.931e-06/0.3752, allocations: 4 kB / 0.581 GB, free: 7.504 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001295/0.3753, allocations: 0 / 0.581 GB, free: 7.504 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.007134/0.3825, allocations: 2.017 MB / 0.583 GB, free: 5.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.84e-05/0.3826, allocations: 8.031 kB / 0.583 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003325/0.3829, allocations: 135.1 kB / 0.5831 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/0.3836, allocations: 189.8 kB / 0.5833 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.3868, allocations: 1.127 MB / 0.5844 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.387, allocations: 66 kB / 0.5844 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.3873, allocations: 80 kB / 0.5845 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.3893, allocations: 0.8571 MB / 0.5853 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.3894, allocations: 0 / 0.5853 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.3895, allocations: 32 kB / 0.5854 GB, free: 2.867 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.3895, allocations: 19.94 kB / 0.5854 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.3915, allocations: 0.7964 MB / 0.5862 GB, free: 2.051 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5234/0.9149, allocations: 3.615 MB / 0.5897 GB, free: 68.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.9169, allocations: 0.6228 MB / 0.5903 GB, free: 68.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.9179, allocations: 334.2 kB / 0.5906 GB, free: 68.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005501/0.9234, allocations: 3.408 MB / 0.594 GB, free: 65.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.9235, allocations: 47.16 kB / 0.594 GB, free: 65.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/0.9235, allocations: 0 / 0.594 GB, free: 65.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.004114/0.9277, allocations: 1.242 MB / 0.5952 GB, free: 64.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.9277, allocations: 65.5 kB / 0.5953 GB, free: 64.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004008/0.9318, allocations: 1.325 MB / 0.5966 GB, free: 64.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/0.9321, allocations: 41.86 kB / 0.5966 GB, free: 64.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.9327, allocations: 0.6156 MB / 0.5972 GB, free: 63.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.9331, allocations: 254.4 kB / 0.5975 GB, free: 63.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.9335, allocations: 144.6 kB / 0.5976 GB, free: 63.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.9338, allocations: 330.2 kB / 0.5979 GB, free: 63.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.9345, allocations: 215 kB / 0.5981 GB, free: 63.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.9352, allocations: 306.9 kB / 0.5984 GB, free: 62.86 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.9367, allocations: 0.5428 MB / 0.5989 GB, free: 62.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.9367, allocations: 4.812 kB / 0.5989 GB, free: 62.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002909/0.9397, allocations: 0.8287 MB / 0.5998 GB, free: 62.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.9398, allocations: 5.312 kB / 0.5998 GB, free: 62.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.9399, allocations: 5.75 kB / 0.5998 GB, free: 62.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000718/0.9406, allocations: 111 kB / 0.5999 GB, free: 62.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.9413, allocations: 143.3 kB / 0.6 GB, free: 62.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/0.9448, allocations: 3.204 MB / 0.6031 GB, free: 59.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.946, allocations: 65.12 kB / 0.6032 GB, free: 59.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.9461, allocations: 34.56 kB / 0.6032 GB, free: 59.06 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.9473, allocations: 326.4 kB / 0.6035 GB, free: 58.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.9479, allocations: 153.2 kB / 0.6037 GB, free: 58.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.9512, allocations: 1.142 MB / 0.6048 GB, free: 58.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.9513, allocations: 14.11 kB / 0.6048 GB, free: 58.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.9513, allocations: 5.984 kB / 0.6048 GB, free: 58.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.9513, allocations: 3.797 kB / 0.6048 GB, free: 58.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005734/0.9571, allocations: 2.003 MB / 0.6068 GB, free: 57.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.9571, allocations: 0 / 0.6068 GB, free: 57.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/0.9578, allocations: 126.7 kB / 0.6069 GB, free: 57.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.9584, allocations: 109.6 kB / 0.607 GB, free: 57.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.993e-05/0.9585, allocations: 29.72 kB / 0.607 GB, free: 57.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.9618, allocations: 3.218 MB / 0.6102 GB, free: 54.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.9618, allocations: 5.641 kB / 0.6102 GB, free: 54.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003411/0.9652, allocations: 1.216 MB / 0.6114 GB, free: 53.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000915/0.9661, allocations: 347.5 kB / 0.6117 GB, free: 53.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005258/0.9667, allocations: 19.02 kB / 0.6117 GB, free: 53.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006918/0.9674, allocations: 26.98 kB / 0.6117 GB, free: 53.24 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002255/0.9676, allocations: 59.75 kB / 0.6118 GB, free: 53.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.9677, allocations: 28.06 kB / 0.6118 GB, free: 53.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00261/0.9703, allocations: 0.9385 MB / 0.6127 GB, free: 52.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.9703, allocations: 0 / 0.6127 GB, free: 52.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002059/0.9724, allocations: 425.6 kB / 0.6132 GB, free: 52.78 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.inlet.m_flow,flowResistance2.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00572/0.9782, allocations: 2.416 MB / 0.6155 GB, free: 51.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.9809, allocations: 0.86 MB / 0.6164 GB, free: 51.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.981, allocations: 1.5 kB / 0.6164 GB, free: 51.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/0.9823, allocations: 0.5764 MB / 0.6169 GB, free: 50.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/0.9856, allocations: 419.3 kB / 0.6173 GB, free: 50.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.014, allocations: 9.893 MB / 0.627 GB, free: 44.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/1.015, allocations: 1.204 MB / 0.6282 GB, free: 44.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001706/1.017, allocations: 246.6 kB / 0.6284 GB, free: 43.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.018, allocations: 0.5562 MB / 0.6289 GB, free: 43.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/1.018, allocations: 0 / 0.6289 GB, free: 43.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.121, allocations: 33.9 MB / 0.662 GB, free: 13.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.7, allocations: 4.062 kB / 0.662 GB, free: 13.43 MB / 462.1 MB (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches