Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001911/0.001911, allocations: 84.73 kB / 19.44 MB, free: 348 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.002264/0.002264, allocations: 157.7 kB / 22.75 MB, free: 1.676 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.24/3.24, allocations: 429.6 MB / 0.673 GB, free: 3.883 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8776 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.259e-05/3.498e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003152/0.003187, allocations: 1.307 MB / 0.8789 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.004395, allocations: 0.52 MB / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.004422, allocations: 0 / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.978e-05/0.004442, allocations: 0 / 0.8794 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.004493, allocations: 4.484 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.005223, allocations: 144.8 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.005279, allocations: 11.94 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.005314, allocations: 0.625 kB / 0.8795 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/0.005348, allocations: 7.984 kB / 0.8795 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.005397, allocations: 5.344 kB / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.005412, allocations: 0 / 0.8796 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005583/0.00597, allocations: 267.4 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.005989, allocations: 5.578 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.006016, allocations: 4 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.006346, allocations: 143.5 kB / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.00635, allocations: 0 / 0.88 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.163e-06/0.006351, allocations: 5.625 kB / 0.88 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.006357, allocations: 0 / 0.88 GB, free: 4.09 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.0005043/0.006861, allocations: 282 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.006906, allocations: 8.031 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.006958, allocations: 4.875 kB / 0.8802 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.007087, allocations: 108.7 kB / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.007099, allocations: 384 / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.007109, allocations: 384 / 0.8803 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.00722, allocations: 34.27 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.007228, allocations: 192 / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.007238, allocations: 4.312 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.007245, allocations: 4.375 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.007277, allocations: 8.641 kB / 0.8804 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.007445, allocations: 97.33 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.647e-05/0.007522, allocations: 27.89 kB / 0.8805 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.007547, allocations: 8.922 kB / 0.8805 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.007573, allocations: 4 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.00762, allocations: 38.55 kB / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.007621, allocations: 0 / 0.8806 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.007808, allocations: 37.7 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.007863, allocations: 55.34 kB / 0.8807 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.007965, allocations: 97.8 kB / 0.8807 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.00799, allocations: 29.7 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.008048, allocations: 84.12 kB / 0.8809 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.008078, allocations: 7.953 kB / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.008113, allocations: 9.969 kB / 0.8809 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.008309, allocations: 318.8 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.008322, allocations: 4 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.126e-05/0.008333, allocations: 4 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.008365, allocations: 8.859 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008367, allocations: 0 / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.883e-05/0.008455, allocations: 45.62 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.008473, allocations: 6.344 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.008478, allocations: 4 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.008495, allocations: 0 / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.008673, allocations: 16.08 kB / 0.8813 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007741/0.009447, allocations: 0.5859 MB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.00947, allocations: 3.938 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.009476, allocations: 0 / 0.8818 GB, free: 1.977 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.0001052/0.009581, allocations: 113.9 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.009596, allocations: 7.922 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.00973, allocations: 48.94 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009732, allocations: 0 / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009736, allocations: 8.125 kB / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.009738, allocations: 0 / 0.882 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.009847, allocations: 97.31 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.009854, allocations: 11.92 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.009934, allocations: 8 kB / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.00994, allocations: 4 kB / 0.8821 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.009951, allocations: 3.938 kB / 0.8821 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000451/0.0104, allocations: 0.5782 MB / 0.8827 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.01041, allocations: 7.922 kB / 0.8827 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.715e-05/0.0105, allocations: 69.2 kB / 0.8828 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.01051, allocations: 3.953 kB / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.01052, allocations: 0 / 0.8828 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.767e-05/0.01055, allocations: 4 kB / 0.8828 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.01057, allocations: 7.984 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.01058, allocations: 0 / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.01063, allocations: 79.28 kB / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0 / 0.8829 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002043/0.01083, allocations: 4 kB / 0.8829 GB, free: 0.8398 MB / 0.8386 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.0002105/0.01104, allocations: 115.3 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.01123, allocations: 23.92 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01123, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.01135, allocations: 15.98 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01152, allocations: 6.781 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/0.01194, allocations: 92.81 kB / 0.8831 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.874e-05/0.01201, allocations: 63.47 kB / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.72e-05/0.01203, allocations: 0 / 0.8832 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.01206, allocations: 8.5 kB / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.01206, allocations: 0 / 0.8832 GB, free: 480 kB / 0.8386 GB Notification: Performance of Templates: time 0.003181/0.01524, allocations: 0.4972 MB / 0.8837 GB, free: 16 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.21169368608389]