Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.582/2.582, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 59.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7104, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.004179/0.7147, allocations: 1.249 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.7162, allocations: 0.5877 MB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.7162, allocations: 4 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.7163, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.7164, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.7171, allocations: 135.4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.7172, allocations: 15.94 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.7172, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.7173, allocations: 3.984 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.102e-05/0.7173, allocations: 7.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.7174, allocations: 4 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008275/0.7182, allocations: 343.4 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.7182, allocations: 0 / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.7183, allocations: 3.938 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.7187, allocations: 145.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7187, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7187, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.7187, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 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.0005441/0.7193, allocations: 355.4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7193, allocations: 12.03 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.7194, allocations: 4.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.7196, allocations: 164.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.7196, allocations: 384 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.7196, allocations: 4.375 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.7198, allocations: 34.27 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7198, allocations: 192 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.7198, allocations: 3.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.7198, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.7199, allocations: 7.984 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.7201, allocations: 149.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.7202, allocations: 26.55 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.7202, allocations: 8.844 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.7203, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.7203, allocations: 38.62 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.7203, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001792/0.7205, allocations: 45.64 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.7206, allocations: 51.41 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.7207, allocations: 105.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.7207, allocations: 25.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.7207, allocations: 80.14 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.7208, allocations: 7.844 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.7208, allocations: 13.72 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.721, allocations: 319.1 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.721, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.7211, allocations: 3.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.7211, allocations: 8.859 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7212, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.27e-05/0.7213, allocations: 37.7 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7213, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7213, allocations: 7.875 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7213, allocations: 8.031 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.7215, allocations: 11.98 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006352/0.7222, allocations: 0.582 MB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.7222, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.7223, allocations: 4.031 kB / 1.022 GB, free: 13.62 MB / 0.7794 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.0001109/0.7224, allocations: 113.9 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.7224, allocations: 4 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.7225, allocations: 48.75 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7226, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7226, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7226, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.7228, allocations: 153.6 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7228, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.7229, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7229, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.723, allocations: 4.031 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/0.7235, allocations: 0.5821 MB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7235, allocations: 3.938 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.7236, allocations: 69.03 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.7237, allocations: 85.14 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7237, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.7237, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.7237, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7238, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.7238, allocations: 79.28 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7238, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003338/0.7242, allocations: 11.98 kB / 1.023 GB, free: 12.32 MB / 0.7794 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.0002117/0.7244, allocations: 111.3 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.7246, allocations: 23.92 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7247, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.7248, allocations: 15.98 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.725, allocations: 0.5625 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.7256, allocations: 114.2 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.726, allocations: 0.6729 MB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.7261, allocations: 0 / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.7261, allocations: 11.44 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7261, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.003918/0.73, allocations: 457.3 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches