Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_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.001135/0.001135, allocations: 104 kB / 15.6 MB, free: 148 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.001366/0.001366, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.341/1.341, allocations: 222.9 MB / 240.2 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.3 MB / 0.6647 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.89 kB / 0.8127 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6529/0.6545, allocations: 140.4 MB / 0.9497 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001933/0.6565, allocations: 1.247 MB / 0.9509 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.6572, allocations: 0.5803 MB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.6572, allocations: 3.938 kB / 0.9515 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.6573, allocations: 3.984 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.452e-05/0.6573, allocations: 13.3 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.6577, allocations: 138.8 kB / 0.9517 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.719e-05/0.6578, allocations: 8.062 kB / 0.9517 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.6578, allocations: 5.312 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.6578, allocations: 2.375 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.511e-05/0.6579, allocations: 2.656 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.6579, allocations: 1.719 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.6583, allocations: 344 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.6583, allocations: 13.14 kB / 0.952 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.6584, allocations: 5.5 kB / 0.952 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.6586, allocations: 145.7 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6586, allocations: 0 / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6586, allocations: 0 / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.6586, allocations: 1.5 kB / 0.9522 GB, free: 7.207 MB / 0.7169 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.0002666/0.6589, allocations: 343.3 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.6589, allocations: 9.219 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.272e-05/0.6589, allocations: 30.75 kB / 0.9525 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.153e-05/0.659, allocations: 6.359 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.299e-05/0.659, allocations: 173.8 kB / 0.9527 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.659, allocations: 4.359 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.659, allocations: 1.5 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.917e-05/0.6591, allocations: 33.83 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6591, allocations: 3.938 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-06/0.6591, allocations: 0 / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.6592, allocations: 0.9062 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.35e-05/0.6592, allocations: 2.219 kB / 0.9527 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.566e-05/0.6593, allocations: 157.1 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.6593, allocations: 23.7 kB / 0.9529 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.6593, allocations: 8.109 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6594, allocations: 3.938 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.6594, allocations: 35.88 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.6594, allocations: 0 / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001136/0.6595, allocations: 47.53 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.6595, allocations: 55.53 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.94e-05/0.6596, allocations: 92.92 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/0.6596, allocations: 25.7 kB / 0.9532 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.6596, allocations: 81.77 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.6596, allocations: 15.83 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.6597, allocations: 16.19 kB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.6597, allocations: 312.1 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.245e-05/0.6597, allocations: 5.344 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.6597, allocations: 6.906 kB / 0.9536 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.6598, allocations: 14.05 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6598, allocations: 0 / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.237e-05/0.6598, allocations: 42 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.6598, allocations: 12.81 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.6598, allocations: 1.375 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.6599, allocations: 0 / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.66, allocations: 7 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.6602, allocations: 0.5951 MB / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.6603, allocations: 0 / 0.9542 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.6603, allocations: 0.9062 kB / 0.9542 GB, free: 4.918 MB / 0.7169 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 4.3e-05/0.6603, allocations: 111.2 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.6603, allocations: 1.438 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.6604, allocations: 49.28 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.6604, allocations: 0 / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6604, allocations: 1.406 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.6604, allocations: 3.938 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.015e-05/0.6605, allocations: 156.2 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6605, allocations: 0 / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.6606, allocations: 8.594 kB / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6606, allocations: 0 / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.6606, allocations: 0 / 0.9546 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001616/0.6608, allocations: 0.5874 MB / 0.9551 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6608, allocations: 3.938 kB / 0.9551 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.008e-05/0.6608, allocations: 62.95 kB / 0.9552 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.6608, allocations: 77.11 kB / 0.9553 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.6609, allocations: 5.266 kB / 0.9553 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.6609, allocations: 4.125 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.6609, allocations: 5.281 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.6609, allocations: 0.6875 kB / 0.9553 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.639e-05/0.6609, allocations: 81.72 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6609, allocations: 0 / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001901/0.6611, allocations: 11.5 kB / 0.9554 GB, free: 3.691 MB / 0.7169 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.0002304/0.6614, allocations: 0.6151 MB / 0.956 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.6615, allocations: 25.17 kB / 0.956 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6615, allocations: 0 / 0.956 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.6616, allocations: 10.03 kB / 0.956 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.6618, allocations: 10.89 kB / 0.956 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.6621, allocations: 143.6 kB / 0.9562 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.053e-05/0.6622, allocations: 0.6719 MB / 0.9568 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.6622, allocations: 3.938 kB / 0.9568 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.6623, allocations: 8.875 kB / 0.9568 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6623, allocations: 0 / 0.9568 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.6798, allocations: 1.33 MB / 0.9581 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.28, allocations: 9.703 kB / 0.9581 GB, free: 1.48 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches