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: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008395/0.0008396, allocations: 170.4 kB / 16.11 MB, free: 5.688 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.149/1.149, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007407/0.0007407, allocations: 81.62 kB / 269.9 MB, free: 8.672 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.5904/0.5904, allocations: 90.53 MB / 408.3 MB, free: 3.918 MB / 298.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.0002694/0.0002695, allocations: 8 kB / 484.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2235, allocations: 65.81 MB / 0.5378 GB, free: 34.92 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.3559/0.5795, allocations: 185.4 MB / 0.7188 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.5945, allocations: 17.66 MB / 0.736 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.5959, allocations: 28.72 kB / 0.7361 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.5977, allocations: 0.8429 MB / 0.7369 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.6016, allocations: 2.091 MB / 0.7389 GB, free: 424 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.6049, allocations: 1.6 MB / 0.7405 GB, free: 368 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00301/0.6079, allocations: 4.248 MB / 0.7446 GB, free: 356 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.6083, allocations: 354.4 kB / 0.745 GB, free: 240 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.6101, allocations: 1.223 MB / 0.7462 GB, free: 232 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.6114, allocations: 1.43 MB / 0.7476 GB, free: 216 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.6116, allocations: 78.41 kB / 0.7476 GB, free: 216 kB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.6159, allocations: 2.632 MB / 0.7502 GB, free: 152 kB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.6162, allocations: 331.8 kB / 0.7505 GB, free: 152 kB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007678/0.617, allocations: 0.8828 MB / 0.7514 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003519/0.6205, allocations: 2.882 MB / 0.7542 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6205, allocations: 0 / 0.7542 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6205, allocations: 0 / 0.7542 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6206, allocations: 2.938 kB / 0.7542 GB, free: 14.75 MB / 0.5105 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.003212/0.6238, allocations: 1.967 MB / 0.7561 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6238, allocations: 7.969 kB / 0.7561 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.6244, allocations: 213.3 kB / 0.7563 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.6254, allocations: 0.8617 MB / 0.7572 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.6255, allocations: 108.8 kB / 0.7573 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.6257, allocations: 154.3 kB / 0.7574 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.6279, allocations: 1.635 MB / 0.759 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.628, allocations: 6.906 kB / 0.759 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.6281, allocations: 62.25 kB / 0.7591 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.6281, allocations: 35.44 kB / 0.7591 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.6304, allocations: 1.51 MB / 0.7606 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007556/0.638, allocations: 7.171 MB / 0.7676 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.6406, allocations: 1.672 MB / 0.7692 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.6417, allocations: 0.796 MB / 0.77 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005144/0.6469, allocations: 6.013 MB / 0.7759 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6469, allocations: 58.42 kB / 0.7759 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=172): time 3.367e-06/0.6469, allocations: 0 / 0.7759 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=172): time 0.00601/0.6529, allocations: 3.232 MB / 0.7791 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.653, allocations: 171.1 kB / 0.7793 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.6539, allocations: 0.8816 MB / 0.7801 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.191e-05/0.654, allocations: 57.7 kB / 0.7802 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.6544, allocations: 0.6241 MB / 0.7808 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.6547, allocations: 0.5825 MB / 0.7814 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.6548, allocations: 36 kB / 0.7814 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6549, allocations: 373.8 kB / 0.7818 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/0.6559, allocations: 0.5309 MB / 0.7823 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.657, allocations: 0.8727 MB / 0.7831 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.6592, allocations: 1.51 MB / 0.7846 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6592, allocations: 4 kB / 0.7846 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003125/0.6624, allocations: 1.904 MB / 0.7865 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6624, allocations: 12 kB / 0.7865 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.6624, allocations: 12 kB / 0.7865 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.663, allocations: 215.3 kB / 0.7867 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6643, allocations: 380.2 kB / 0.7871 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.669, allocations: 7.146 MB / 0.794 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.67, allocations: 182.4 kB / 0.7942 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.6701, allocations: 75.98 kB / 0.7943 GB, free: 9.867 MB / 0.5417 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.0004713/0.6706, allocations: 316.7 kB / 0.7946 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.6709, allocations: 150.2 kB / 0.7947 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.6748, allocations: 2.089 MB / 0.7968 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.6748, allocations: 7.969 kB / 0.7968 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6748, allocations: 6.562 kB / 0.7968 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.675, allocations: 238.9 kB / 0.797 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.6752, allocations: 32 kB / 0.797 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/0.6762, allocations: 107.6 kB / 0.7971 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.6764, allocations: 128.8 kB / 0.7973 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004772/0.6812, allocations: 2.41 MB / 0.7996 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003858/0.6851, allocations: 2.79 MB / 0.8023 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00112/0.6862, allocations: 0.6758 MB / 0.803 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006409/0.6868, allocations: 0.5922 MB / 0.8036 GB, free: 332 kB / 0.5417 GB Notification: Performance of Backend: time 4.31e-07/0.6868, allocations: 0 / 0.8036 GB, free: 332 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00439/0.6912, allocations: 2.488 MB / 0.806 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of SimCode: time 0.005042/0.6963, allocations: 4.563 MB / 0.8105 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of Templates: time 0.04493/0.7412, allocations: 33.85 MB / 0.8435 GB, free: 7.672 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.makefile (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 & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > 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