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.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_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.001441/0.001441, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001657, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.629/2.629, allocations: 461.9 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.61 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2372, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002259/0.2395, allocations: 1.316 MB / 1.053 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.2404, allocations: 0.6034 MB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.2405, allocations: 0 / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.2405, allocations: 7.938 kB / 1.054 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.2405, allocations: 3.984 kB / 1.054 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.241, allocations: 115.6 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.241, allocations: 11.92 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2411, allocations: 4 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.2411, allocations: 3.938 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.313e-05/0.2411, allocations: 4 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.2411, allocations: 0 / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.2416, allocations: 347.3 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.2416, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.2416, allocations: 15.92 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.2419, allocations: 132 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2419, allocations: 4 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2419, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.2419, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 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.0003334/0.2422, allocations: 355.4 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2423, allocations: 8.031 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.2423, allocations: 30.75 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.2423, allocations: 8.938 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.2424, allocations: 160.4 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.2425, allocations: 384 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.2425, allocations: 384 / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.2426, allocations: 42.19 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2426, allocations: 3.938 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-06/0.2426, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2426, allocations: 0 / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.2426, allocations: 4 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.2427, allocations: 157.7 kB / 1.055 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.2428, allocations: 18.58 kB / 1.055 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.2428, allocations: 12.92 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2428, allocations: 0 / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.2429, allocations: 38.48 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2429, allocations: 0 / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001226/0.243, allocations: 49.53 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.243, allocations: 59.41 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.2431, allocations: 89.86 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2431, allocations: 25.7 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.2432, allocations: 84.14 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2432, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2432, allocations: 17.7 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.2433, allocations: 319.1 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.2433, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.2433, allocations: 11.95 kB / 1.056 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.2434, allocations: 16.8 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2434, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.586e-05/0.2434, allocations: 41.59 kB / 1.056 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2435, allocations: 7.938 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2435, allocations: 4 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.2435, allocations: 0 / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2436, allocations: 16.11 kB / 1.056 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003134/0.244, allocations: 0.5899 MB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.244, allocations: 3.938 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.244, allocations: 0 / 1.057 GB, free: 3.297 MB / 0.8106 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 6.617e-05/0.2441, allocations: 109.8 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.2441, allocations: 8.125 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.2442, allocations: 44.81 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2442, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2442, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2442, allocations: 0 / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.986e-05/0.2443, allocations: 157.6 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2443, allocations: 0 / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.681e-05/0.2444, allocations: 11.94 kB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2444, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2444, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002593/0.2447, allocations: 0.586 MB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2447, allocations: 3.938 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.887e-05/0.2448, allocations: 65.08 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.2448, allocations: 81.05 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.2448, allocations: 4.125 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.2448, allocations: 3.984 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.2449, allocations: 7.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.2449, allocations: 0 / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.2449, allocations: 75.28 kB / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2449, allocations: 0 / 1.058 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002032/0.2451, allocations: 19.94 kB / 1.058 GB, free: 2.008 MB / 0.8106 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.0003466/0.2455, allocations: 0.6048 MB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.2456, allocations: 23.92 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2456, allocations: 0 / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.2457, allocations: 12 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.2459, allocations: 7.938 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.2462, allocations: 147.8 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.2464, allocations: 0.677 MB / 1.059 GB, free: 452 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2465, allocations: 3.906 kB / 1.059 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.988e-05/0.2465, allocations: 7.438 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2465, allocations: 0 / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2575, allocations: 1.216 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.2578, allocations: 276 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.865, allocations: 2.672 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches