Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004503/0.004503, allocations: 98.56 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 196 kB / 16.68 MB, free: 5.977 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.455/2.455, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 64.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002006/0.2491, allocations: 1.251 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000846/0.2499, allocations: 0.5933 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.25, allocations: 0 / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.25, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.196e-05/0.25, allocations: 3.984 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.2505, allocations: 143.4 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.755e-05/0.2505, allocations: 7.938 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.126e-05/0.2506, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.2506, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.2506, allocations: 11.92 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.2507, allocations: 4 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.2511, allocations: 343.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.2511, allocations: 0 / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.2512, allocations: 4 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2514, allocations: 147.5 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2514, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2514, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2514, allocations: 0 / 1.223 GB, free: 11.82 MB / 0.9825 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.0003473/0.2518, allocations: 347.2 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2518, allocations: 8.031 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.2518, allocations: 34.75 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.67e-05/0.2519, allocations: 0.9375 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.252, allocations: 172.3 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.252, allocations: 4.375 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-06/0.252, allocations: 384 / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.33e-05/0.2521, allocations: 30.27 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2521, allocations: 7.875 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-06/0.2521, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2521, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.2521, allocations: 7.938 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.2523, allocations: 153.7 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.309e-05/0.2523, allocations: 26.58 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.2524, allocations: 8.922 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2524, allocations: 3.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2524, allocations: 34.55 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.564e-06/0.2524, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.2525, allocations: 49.53 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.2526, allocations: 59.53 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.698e-05/0.2526, allocations: 89.86 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.2527, allocations: 25.7 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.2527, allocations: 92.12 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.2527, allocations: 3.938 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.2528, allocations: 9.719 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2529, allocations: 314.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.2529, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.2529, allocations: 12.12 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.2529, allocations: 12.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2529, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.186e-05/0.253, allocations: 45.64 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.253, allocations: 9.969 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.253, allocations: 4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.253, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2532, allocations: 15.98 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003398/0.2535, allocations: 0.5861 MB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.2535, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2535, allocations: 0 / 1.225 GB, free: 9.422 MB / 0.9825 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 7.128e-05/0.2536, allocations: 110.3 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.2536, allocations: 4.031 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.2537, allocations: 52.89 kB / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2537, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2537, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.2537, allocations: 0 / 1.225 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.2538, allocations: 157.6 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2539, allocations: 0 / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.2539, allocations: 11.98 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2539, allocations: 3.938 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2539, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.2542, allocations: 0.5899 MB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.2543, allocations: 3.938 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.2543, allocations: 65.16 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.2544, allocations: 77.11 kB / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.2544, allocations: 0 / 1.226 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.2544, allocations: 4 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.2544, allocations: 12 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.2544, allocations: 4 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.2545, allocations: 75.28 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.2545, allocations: 0 / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001674/0.2546, allocations: 11.94 kB / 1.226 GB, free: 8.129 MB / 0.9825 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.0003746/0.255, allocations: 0.6125 MB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2552, allocations: 23.92 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2552, allocations: 0 / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.2553, allocations: 15.92 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.2554, allocations: 10.38 kB / 1.226 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2557, allocations: 141.1 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.256, allocations: 0.6729 MB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.256, allocations: 0 / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.256, allocations: 7.438 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.256, allocations: 4 kB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.893/8.149, allocations: 1.385 MB / 1.229 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.25/26.4, allocations: 6.406 kB / 1.229 GB, free: 5.383 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches