Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002214/0.002214, allocations: 108 kB / 15.61 MB, free: 152 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.002163/0.002163, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.462/2.462, allocations: 469.8 MB / 0.7424 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 69.28 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2327, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002145/0.2349, allocations: 1.254 MB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.2358, allocations: 0.5817 MB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.2358, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.2359, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.2359, allocations: 7.922 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2364, allocations: 148.6 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.2364, allocations: 7.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.2365, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.2365, allocations: 7.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.2365, allocations: 7.984 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.2366, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.237, allocations: 339.4 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.935e-06/0.237, allocations: 3.938 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.2371, allocations: 7.938 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.2373, allocations: 144 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2373, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2373, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2373, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 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.0003783/0.2377, allocations: 347.5 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2378, allocations: 8.031 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2378, allocations: 38.69 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.2378, allocations: 0.9375 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2379, allocations: 164.4 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.238, allocations: 4.375 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.238, allocations: 4.312 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.238, allocations: 34.27 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2381, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.2381, allocations: 3.938 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2381, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.2381, allocations: 0 / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.2383, allocations: 157.6 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.2383, allocations: 30.55 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.2383, allocations: 12.92 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2384, allocations: 3.984 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2384, allocations: 30.56 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2384, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001196/0.2385, allocations: 45.58 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.2386, allocations: 55.53 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.2386, allocations: 101.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.2386, allocations: 25.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.2387, allocations: 80.14 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2387, allocations: 3.906 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.2387, allocations: 17.72 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2389, allocations: 310.8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.2389, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.2389, allocations: 8.125 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.2389, allocations: 16.84 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2389, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.198e-05/0.239, allocations: 37.64 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.239, allocations: 11.94 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.239, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.239, allocations: 0 / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.2392, allocations: 11.98 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003461/0.2395, allocations: 0.59 MB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.2395, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2396, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 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.553e-05/0.2396, allocations: 113.8 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.2396, allocations: 0 / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.2397, allocations: 52.84 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.2397, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2398, allocations: 3.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2398, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.2399, allocations: 157.6 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2399, allocations: 0 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.24, allocations: 11.98 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.24, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.24, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003085/0.2403, allocations: 0.5899 MB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2403, allocations: 7.875 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.326e-05/0.2404, allocations: 65.06 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.2404, allocations: 77.11 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.2404, allocations: 3.984 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.2404, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.2405, allocations: 12.06 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.2405, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.2405, allocations: 75.28 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2405, allocations: 0 / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001712/0.2407, allocations: 15.94 kB / 1.07 GB, free: 8 MB / 0.8262 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.0003875/0.2411, allocations: 0.6197 MB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.2412, allocations: 15.98 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2413, allocations: 0 / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.2413, allocations: 19.98 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.2415, allocations: 7.875 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.2418, allocations: 148.9 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.2421, allocations: 0.6729 MB / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.431e-05/0.2421, allocations: 0 / 1.071 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.2421, allocations: 15.36 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2422, allocations: 0 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/1.323, allocations: 1.315 MB / 1.072 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.63, allocations: 11.31 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches