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.01324/0.01324, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001821/0.001821, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.102/2.102, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.244/1.244, allocations: 93.71 MB / 384.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 75.88 kB / 0.5199 GB, free: 6.332 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2884, allocations: 68.27 MB / 0.5866 GB, free: 1.98 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.723/1.012, allocations: 37.01 MB / 0.6228 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03802/1.05, allocations: 14.89 MB / 0.6373 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004264/1.054, allocations: 47.84 kB / 0.6373 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00523/1.059, allocations: 0.9483 MB / 0.6383 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009472/1.069, allocations: 1.314 MB / 0.6396 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007088/1.076, allocations: 1.03 MB / 0.6406 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007762/1.084, allocations: 1.916 MB / 0.6424 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/1.086, allocations: 344.3 kB / 0.6428 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/1.09, allocations: 0.9419 MB / 0.6437 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/1.093, allocations: 0.6987 MB / 0.6444 GB, free: 324 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009737/1.094, allocations: 93.97 kB / 0.6445 GB, free: 320 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007466/1.102, allocations: 0.8562 MB / 0.6453 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/1.103, allocations: 332.6 kB / 0.6456 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003742/1.107, allocations: 0.7151 MB / 0.6463 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/1.12, allocations: 2.105 MB / 0.6484 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-05/1.12, allocations: 0 / 0.6484 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.961e-06/1.12, allocations: 0 / 0.6484 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001948/1.12, allocations: 1.312 kB / 0.6484 GB, free: 13.89 MB / 0.4981 GB 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.0109/1.131, allocations: 2.097 MB / 0.6504 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001086/1.131, allocations: 13.61 kB / 0.6504 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/1.131, allocations: 121.3 kB / 0.6505 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/1.132, allocations: 194.8 kB / 0.6507 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004583/1.137, allocations: 1.222 MB / 0.6519 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/1.137, allocations: 59.66 kB / 0.652 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/1.138, allocations: 89.73 kB / 0.6521 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/1.14, allocations: 0.8517 MB / 0.6529 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/1.14, allocations: 1.094 kB / 0.6529 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.141, allocations: 35.47 kB / 0.6529 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.141, allocations: 22.31 kB / 0.6529 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/1.143, allocations: 0.7922 MB / 0.6537 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/1.153, allocations: 3.604 MB / 0.6572 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/1.155, allocations: 0.6273 MB / 0.6579 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008926/1.156, allocations: 342.2 kB / 0.6582 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008479/1.165, allocations: 3.399 MB / 0.6615 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.42e-05/1.165, allocations: 47.31 kB / 0.6615 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=73): time 5.32e-06/1.165, allocations: 0 / 0.6615 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73): time 0.005331/1.17, allocations: 1.244 MB / 0.6628 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/1.17, allocations: 67.53 kB / 0.6628 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004558/1.175, allocations: 1.327 MB / 0.6641 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.175, allocations: 39.58 kB / 0.6642 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008907/1.176, allocations: 0.6284 MB / 0.6648 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/1.176, allocations: 258.8 kB / 0.665 GB, free: 440 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004326/1.177, allocations: 143.9 kB / 0.6652 GB, free: 344 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.177, allocations: 331.4 kB / 0.6655 GB, free: 12 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/1.178, allocations: 217.2 kB / 0.6657 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/1.179, allocations: 311.8 kB / 0.666 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001763/1.18, allocations: 0.5406 MB / 0.6665 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.18, allocations: 1.094 kB / 0.6665 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002955/1.183, allocations: 0.8329 MB / 0.6673 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/1.183, allocations: 9.906 kB / 0.6673 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.183, allocations: 2.438 kB / 0.6673 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/1.184, allocations: 112.5 kB / 0.6674 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/1.185, allocations: 138.5 kB / 0.6676 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/1.19, allocations: 3.218 MB / 0.6707 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.192, allocations: 59.52 kB / 0.6708 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.192, allocations: 31.98 kB / 0.6708 GB, free: 11.42 MB / 0.5137 GB 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.001421/1.194, allocations: 330.2 kB / 0.6711 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.195, allocations: 162.9 kB / 0.6713 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/1.198, allocations: 1.147 MB / 0.6724 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/1.198, allocations: 8 kB / 0.6724 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.198, allocations: 0 / 0.6724 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.198, allocations: 3.984 kB / 0.6724 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006929/1.205, allocations: 2.011 MB / 0.6744 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.205, allocations: 4 kB / 0.6744 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/1.206, allocations: 123.9 kB / 0.6745 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/1.206, allocations: 113.7 kB / 0.6746 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/1.206, allocations: 28.05 kB / 0.6746 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/1.211, allocations: 3.208 MB / 0.6778 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.211, allocations: 3.938 kB / 0.6778 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/1.215, allocations: 1.233 MB / 0.679 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.216, allocations: 347.9 kB / 0.6793 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007369/1.217, allocations: 27.92 kB / 0.6793 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.218, allocations: 20 kB / 0.6793 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.218, allocations: 64.5 kB / 0.6794 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.218, allocations: 27.92 kB / 0.6794 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002859/1.221, allocations: 0.9423 MB / 0.6803 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/1.221, allocations: 0 / 0.6803 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002973/1.224, allocations: 427 kB / 0.6808 GB, free: 0.7734 MB / 0.5137 GB 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.006878/1.231, allocations: 2.436 MB / 0.6831 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.234, allocations: 0.831 MB / 0.6839 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.234, allocations: 0 / 0.6839 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/1.235, allocations: 0.5789 MB / 0.6845 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003956/1.239, allocations: 405.9 kB / 0.6849 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02831/1.268, allocations: 9.127 MB / 0.6938 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.269, allocations: 1.2 MB / 0.695 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001587/1.271, allocations: 249.7 kB / 0.6952 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.272, allocations: 0.5578 MB / 0.6958 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of SimCode: time 2.675e-06/1.272, allocations: 0 / 0.6958 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5579/1.83, allocations: 34.32 MB / 0.7293 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.21/21.04, allocations: 14.84 kB / 0.7293 GB, free: 15.15 MB / 0.5762 GB (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