Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",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.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001064/0.001065, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6159/0.6159, allocations: 91.19 MB / 381.3 MB, free: 9.531 MB / 318.1 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.001359/0.001359, allocations: 76.97 kB / 459.9 MB, free: 23.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09499, allocations: 67.7 MB / 0.5153 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4163/0.5113, allocations: 188.3 MB / 0.6991 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.532, allocations: 17.91 MB / 0.7166 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.535, allocations: 79.44 kB / 0.7167 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.5374, allocations: 0.8704 MB / 0.7175 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006024/0.5435, allocations: 2.153 MB / 0.7196 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004254/0.5478, allocations: 1.711 MB / 0.7213 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.5513, allocations: 3.542 MB / 0.7248 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.5518, allocations: 462 kB / 0.7252 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.5537, allocations: 1.529 MB / 0.7267 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.5552, allocations: 1.587 MB / 0.7282 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.5554, allocations: 164 kB / 0.7284 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.5598, allocations: 2.585 MB / 0.7309 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.5602, allocations: 454 kB / 0.7313 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008266/0.561, allocations: 1.084 MB / 0.7324 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.5648, allocations: 3.178 MB / 0.7355 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5648, allocations: 4 kB / 0.7355 GB, free: 14.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5649, allocations: 4 kB / 0.7355 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.071e-05/0.5649, allocations: 0 / 0.7355 GB, free: 14.27 MB / 0.545 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.003991/0.5689, allocations: 2.593 MB / 0.7381 GB, free: 11.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5689, allocations: 8.031 kB / 0.7381 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.5691, allocations: 215.1 kB / 0.7383 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005903/0.5697, allocations: 245.2 kB / 0.7385 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.5713, allocations: 1.197 MB / 0.7397 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.5714, allocations: 114.9 kB / 0.7398 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.5716, allocations: 155.8 kB / 0.7399 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.574, allocations: 1.643 MB / 0.7415 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.574, allocations: 3.938 kB / 0.7415 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.5741, allocations: 60 kB / 0.7416 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.5742, allocations: 36 kB / 0.7416 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.5763, allocations: 1.485 MB / 0.7431 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007614/0.584, allocations: 7.156 MB / 0.7501 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.5865, allocations: 1.547 MB / 0.7516 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.5875, allocations: 0.7451 MB / 0.7523 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005436/0.593, allocations: 5.959 MB / 0.7581 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.593, allocations: 51.81 kB / 0.7582 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=166): time 3.075e-06/0.5931, allocations: 0 / 0.7582 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=166): time 0.005958/0.599, allocations: 3.152 MB / 0.7612 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.5991, allocations: 171.1 kB / 0.7614 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6005, allocations: 1.281 MB / 0.7627 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6006, allocations: 61.7 kB / 0.7627 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/0.6011, allocations: 0.7684 MB / 0.7635 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.6015, allocations: 0.5659 MB / 0.764 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.6019, allocations: 291.5 kB / 0.7643 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.602, allocations: 301.1 kB / 0.7646 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/0.6028, allocations: 499.8 kB / 0.7651 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.6039, allocations: 0.8329 MB / 0.7659 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.606, allocations: 1.444 MB / 0.7673 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6061, allocations: 4.875 kB / 0.7673 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003275/0.6093, allocations: 1.853 MB / 0.7691 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6094, allocations: 8 kB / 0.7691 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.6094, allocations: 14.34 kB / 0.7691 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007718/0.6102, allocations: 228.1 kB / 0.7693 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.6115, allocations: 383.4 kB / 0.7697 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.6173, allocations: 7.692 MB / 0.7772 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.6185, allocations: 182.3 kB / 0.7774 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.6187, allocations: 75.98 kB / 0.7775 GB, free: 460 kB / 0.5762 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 (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0006284/0.6193, allocations: 336.8 kB / 0.7778 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003892/0.6197, allocations: 189.8 kB / 0.778 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.6236, allocations: 2.071 MB / 0.78 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.6237, allocations: 16 kB / 0.78 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6237, allocations: 8 kB / 0.78 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.6237, allocations: 7.969 kB / 0.78 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.6298, allocations: 3.93 MB / 0.7839 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.6299, allocations: 4 kB / 0.7839 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6309, allocations: 251.7 kB / 0.7841 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.6326, allocations: 475.5 kB / 0.7846 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.6328, allocations: 51.97 kB / 0.7846 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007395/0.6402, allocations: 9.974 MB / 0.7943 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6402, allocations: 7.938 kB / 0.7944 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/0.6449, allocations: 2.867 MB / 0.7972 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003436/0.6452, allocations: 278.4 kB / 0.7974 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.6455, allocations: 43.84 kB / 0.7975 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/0.6467, allocations: 87.78 kB / 0.7975 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.6469, allocations: 128.6 kB / 0.7977 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.6471, allocations: 71.95 kB / 0.7977 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001265/0.6483, allocations: 0.8848 MB / 0.7986 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6483, allocations: 0 / 0.7986 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002131/0.6505, allocations: 0.7764 MB / 0.7994 GB, free: 8.918 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006351/0.6568, allocations: 4.085 MB / 0.8034 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003739/0.6606, allocations: 2.058 MB / 0.8054 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.6606, allocations: 4 kB / 0.8054 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.6632, allocations: 1.447 MB / 0.8068 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.6668, allocations: 0.6104 MB / 0.8074 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2466/0.9134, allocations: 16.58 MB / 0.8236 GB, free: 234.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009129/0.9143, allocations: 1.334 MB / 0.8249 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001551/0.9159, allocations: 352.7 kB / 0.8252 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008361/0.9167, allocations: 0.7656 MB / 0.8259 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of SimCode: time 7.52e-07/0.9167, allocations: 3.969 kB / 0.826 GB, free: 233.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.025/2.942, allocations: 53.28 MB / 0.878 GB, free: 204.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/2.942, allocations: 222.8 kB / 0.8782 GB, free: 204.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/6.069, allocations: 4.062 kB / 0.8782 GB, free: 204.5 MB / 0.6231 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.PCV_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches