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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002311/0.002312, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002744/0.002743, allocations: 191.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.067/3.067, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.621/6.621, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002507, allocations: 63 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.735, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.004756/0.7398, allocations: 1.326 MB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.7418, allocations: 0.5994 MB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.7419, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.742, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.7421, allocations: 0 / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.7432, allocations: 119.6 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.7432, allocations: 7.938 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.7433, allocations: 7.984 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.7434, allocations: 7.984 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.7434, allocations: 7.938 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.7435, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008799/0.7444, allocations: 343.3 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.7444, allocations: 3.984 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.7444, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.7462, allocations: 143.9 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.7462, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7462, allocations: 4 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7463, allocations: 0 / 1.055 GB, free: 6.074 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.0007697/0.747, allocations: 355.4 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.7471, allocations: 12.62 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.7472, allocations: 30.75 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.7473, allocations: 0.9375 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.7475, allocations: 160.4 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.7475, allocations: 8.312 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.7475, allocations: 384 / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.7477, allocations: 38.25 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.7477, allocations: 7.875 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7477, allocations: 3.938 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7477, allocations: 0 / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.7478, allocations: 8 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.7481, allocations: 145.7 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.7482, allocations: 30.59 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.7483, allocations: 8.859 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.7483, allocations: 0 / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.7484, allocations: 34.62 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.7484, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.7486, allocations: 53.47 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.7488, allocations: 51.41 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.749, allocations: 97.98 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.749, allocations: 25.7 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.7491, allocations: 84.14 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.7491, allocations: 0 / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.7492, allocations: 13.72 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0003028/0.7495, allocations: 314.8 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.7495, allocations: 8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.7496, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.7496, allocations: 20.98 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.7496, allocations: 4 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.7498, allocations: 41.61 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7498, allocations: 7.938 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.7498, allocations: 3.984 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.7499, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.7501, allocations: 8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006041/0.7507, allocations: 0.586 MB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.7508, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.7508, allocations: 4.031 kB / 1.057 GB, free: 3.68 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 0.0001169/0.7509, allocations: 115.3 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.751, allocations: 4 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.7512, allocations: 44.81 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7512, allocations: 4 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7512, allocations: 4.125 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7512, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.7514, allocations: 149.6 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7514, allocations: 4 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.7515, allocations: 7.984 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.7517, allocations: 7.938 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.7517, allocations: 0 / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006056/0.7523, allocations: 0.586 MB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7523, allocations: 3.938 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.7525, allocations: 65.06 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.739e-05/0.7525, allocations: 81.11 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.7526, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.661e-05/0.7526, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.7527, allocations: 3.938 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.7527, allocations: 8.016 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.571e-05/0.7528, allocations: 83.28 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7528, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004047/0.7532, allocations: 11.94 kB / 1.058 GB, free: 2.383 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.0008464/0.7541, allocations: 0.6087 MB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.7544, allocations: 19.98 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7544, allocations: 3.938 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.7545, allocations: 15.98 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.7548, allocations: 3.938 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.7556, allocations: 146.9 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.7561, allocations: 0.6806 MB / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.7562, allocations: 0 / 1.06 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.7562, allocations: 7.438 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of SimCode: time 2.986e-06/0.7563, allocations: 0 / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4485/1.205, allocations: 1.262 MB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005599/1.205, allocations: 274 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.607/5.813, allocations: 0 / 1.061 GB, free: 15.43 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