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.000994/0.000994, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001171/0.001171, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 0.9985/0.9985, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.412/2.412, allocations: 429.5 MB / 0.6743 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.585e-06/2.585e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.161e-05, allocations: 6.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00218/0.002211, allocations: 1.337 MB / 0.8807 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.003044, allocations: 0.552 MB / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.00308, allocations: 1.5 kB / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.003103, allocations: 0 / 0.8813 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.003161, allocations: 3.984 kB / 0.8813 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.003653, allocations: 148.4 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.003713, allocations: 7.938 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.003761, allocations: 3.344 kB / 0.8814 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.398e-05/0.003795, allocations: 8 kB / 0.8814 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.003852, allocations: 3.984 kB / 0.8814 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.003867, allocations: 4 kB / 0.8814 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.004207, allocations: 267.4 kB / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.004227, allocations: 0 / 0.8817 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.00425, allocations: 15.98 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.004485, allocations: 143.5 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.004489, allocations: 0 / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00449, allocations: 0.5938 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004495, allocations: 0 / 0.8818 GB, free: 3.535 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.0004035/0.004898, allocations: 373.9 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.004946, allocations: 16.02 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.004986, allocations: 0.9375 kB / 0.8822 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.005101, allocations: 114.1 kB / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.005115, allocations: 384 / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.005122, allocations: 384 / 0.8823 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.005204, allocations: 34.27 kB / 0.8824 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.00521, allocations: 4.188 kB / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.523e-06/0.005217, allocations: 384 / 0.8824 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.005222, allocations: 4.312 kB / 0.8824 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.005238, allocations: 11.92 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.00536, allocations: 89.27 kB / 0.8825 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.005419, allocations: 31.16 kB / 0.8825 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.005434, allocations: 7.688 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.005453, allocations: 0 / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.005483, allocations: 45.39 kB / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.005483, allocations: 0 / 0.8825 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000125/0.005608, allocations: 49.56 kB / 0.8826 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.005643, allocations: 51.41 kB / 0.8826 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/0.005719, allocations: 153.9 kB / 0.8828 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.00573, allocations: 25.7 kB / 0.8828 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.005775, allocations: 126.9 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.005808, allocations: 11.88 kB / 0.8829 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.005844, allocations: 27.36 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.006002, allocations: 496.1 kB / 0.8834 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.006013, allocations: 0 / 0.8834 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.006022, allocations: 8.25 kB / 0.8834 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.006055, allocations: 15.62 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.006057, allocations: 0 / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.399e-05/0.006121, allocations: 41.67 kB / 0.8835 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.006136, allocations: 4 kB / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006141, allocations: 0 / 0.8835 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006153, allocations: 4 kB / 0.8835 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.006297, allocations: 8 kB / 0.8835 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004459/0.006743, allocations: 0.9088 MB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.006767, allocations: 4 kB / 0.8844 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.006775, allocations: 0 / 0.8844 GB, free: 0.6797 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 8.568e-05/0.00686, allocations: 156.6 kB / 0.8846 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-06/0.006869, allocations: 4 kB / 0.8846 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.006976, allocations: 44.94 kB / 0.8846 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.00698, allocations: 4 kB / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.006982, allocations: 0 / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.006987, allocations: 0 / 0.8846 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.816e-05/0.007065, allocations: 93.36 kB / 0.8847 GB, free: 348 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.007068, allocations: 4 kB / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.072e-05/0.007139, allocations: 7.984 kB / 0.8847 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.007142, allocations: 4 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007149, allocations: 4 kB / 0.8847 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003691/0.007518, allocations: 0.8932 MB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007519, allocations: 0 / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.4e-05/0.007583, allocations: 72.44 kB / 0.8857 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.007597, allocations: 11.89 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.007605, allocations: 4.094 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.007616, allocations: 3.938 kB / 0.8857 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.007633, allocations: 3.938 kB / 0.8857 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.007636, allocations: 0 / 0.8857 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.512e-05/0.007681, allocations: 127.2 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007681, allocations: 0 / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001639/0.007845, allocations: 15.92 kB / 0.8858 GB, free: 15.14 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.0001805/0.008026, allocations: 99.25 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.00819, allocations: 27.77 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.008194, allocations: 4 kB / 0.8859 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.008233, allocations: 23.67 kB / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.008361, allocations: 0 / 0.886 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.008674, allocations: 110.4 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.00871, allocations: 55.22 kB / 0.8861 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.008732, allocations: 8.109 kB / 0.8861 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.00878, allocations: 70.2 kB / 0.8862 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.008781, allocations: 0 / 0.8862 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.002638/0.01142, allocations: 0.533 MB / 0.8867 GB, free: 14.2 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.033202977851033]