Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.482/3.482, allocations: 429.5 MB / 0.6729 GB, free: 3.996 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 4.922 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.013e-05/3.181e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002546/0.002578, allocations: 1.308 MB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003693, allocations: 0.5461 MB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.003719, allocations: 0 / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.00374, allocations: 7.922 kB / 0.8793 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.003796, allocations: 3.938 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.004362, allocations: 136.2 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.00441, allocations: 11.94 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.004445, allocations: 1.094 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.109e-05/0.004486, allocations: 11.92 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.004535, allocations: 7.984 kB / 0.8794 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.00455, allocations: 5.062 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.005112, allocations: 259.4 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.005124, allocations: 3.938 kB / 0.8797 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.005143, allocations: 5.125 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.005443, allocations: 155.5 kB / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.005447, allocations: 0 / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005448, allocations: 1 kB / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.005452, allocations: 0 / 0.8799 GB, free: 4.199 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004864/0.005938, allocations: 376.6 kB / 0.8802 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.005977, allocations: 12.03 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.006019, allocations: 5.547 kB / 0.8802 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.006138, allocations: 113.7 kB / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.00615, allocations: 384 / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.006157, allocations: 4.312 kB / 0.8803 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.006248, allocations: 31.02 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006256, allocations: 192 / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.006264, allocations: 1.594 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.006268, allocations: 384 / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.006297, allocations: 7.938 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.006468, allocations: 117.4 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.006539, allocations: 27.09 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.006565, allocations: 20.22 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.006587, allocations: 1.094 kB / 0.8805 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.006626, allocations: 37.39 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.006626, allocations: 0 / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001736/0.0068, allocations: 42.34 kB / 0.8806 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.006848, allocations: 56.22 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.006967, allocations: 158.8 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.006986, allocations: 25.7 kB / 0.8808 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.007054, allocations: 126.9 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.007076, allocations: 7.641 kB / 0.881 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.007119, allocations: 27.36 kB / 0.881 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.007362, allocations: 496.1 kB / 0.8815 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.007377, allocations: 4 kB / 0.8815 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.007385, allocations: 3.938 kB / 0.8815 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.039e-05/0.007425, allocations: 19.69 kB / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007427, allocations: 0 / 0.8815 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.814e-05/0.007495, allocations: 37.69 kB / 0.8815 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007508, allocations: 4.625 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007512, allocations: 0.5938 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.007528, allocations: 4 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.007692, allocations: 5.531 kB / 0.8816 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006249/0.008317, allocations: 0.9127 MB / 0.8824 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.008337, allocations: 4.344 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.008342, allocations: 4 kB / 0.8825 GB, free: 1.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.008459, allocations: 156.6 kB / 0.8826 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.008469, allocations: 3.938 kB / 0.8826 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.008604, allocations: 48.94 kB / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008606, allocations: 0 / 0.8827 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.008611, allocations: 4 kB / 0.8827 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.008617, allocations: 3.984 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.008726, allocations: 108.6 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.008727, allocations: 0 / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.233e-05/0.008809, allocations: 20.02 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.008814, allocations: 4 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.008824, allocations: 3.938 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/0.009392, allocations: 0.8894 MB / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009393, allocations: 0 / 0.8837 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.009531, allocations: 84.31 kB / 0.8837 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-06/0.009539, allocations: 3.953 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.009549, allocations: 0 / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.009563, allocations: 4 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.009587, allocations: 8.078 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.009589, allocations: 0 / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.803e-05/0.009657, allocations: 123.2 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009657, allocations: 0 / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001871/0.009844, allocations: 4 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001995/0.01004, allocations: 111.2 kB / 0.884 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.01024, allocations: 31.61 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01024, allocations: 160 / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01034, allocations: 31.61 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.0105, allocations: 5.062 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.01083, allocations: 101.7 kB / 0.8841 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.0109, allocations: 59.34 kB / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.01091, allocations: 0 / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.01093, allocations: 8.5 kB / 0.8842 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01093, allocations: 4.062 kB / 0.8842 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.003394/0.01433, allocations: 487 kB / 0.8847 GB, free: 14.92 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.530865462031215]