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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001555/0.001555, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000546/0.0005461, allocations: 11.94 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7322/0.7328, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001142/0.734, allocations: 0.9668 MB / 0.9545 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004614/0.7345, allocations: 312.1 kB / 0.9547 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.7345, allocations: 9.062 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.7345, allocations: 0 / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.7346, allocations: 7.969 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.7349, allocations: 65.88 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.735, allocations: 3.812 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.833e-05/0.735, allocations: 1.375 kB / 0.9548 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.735, allocations: 5.312 kB / 0.9548 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.7351, allocations: 14.25 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.7351, allocations: 1.156 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.7354, allocations: 181.3 kB / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.7354, allocations: 0 / 0.955 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.7354, allocations: 26.61 kB / 0.9551 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.7355, allocations: 49.66 kB / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.7356, allocations: 0 / 0.9551 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7356, allocations: 3.938 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.7356, allocations: 0 / 0.9551 GB, free: 6.855 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.0002581/0.7358, allocations: 334.3 kB / 0.9554 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.7359, allocations: 9.344 kB / 0.9554 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.7359, allocations: 9.234 kB / 0.9554 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.501e-05/0.736, allocations: 164 kB / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.736, allocations: 5.188 kB / 0.9556 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.736, allocations: 0 / 0.9556 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.7361, allocations: 37.31 kB / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.7361, allocations: 0 / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.7361, allocations: 3.938 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.7361, allocations: 1.406 kB / 0.9556 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.7362, allocations: 7.016 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.7363, allocations: 156.5 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.7363, allocations: 23.05 kB / 0.9558 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.7364, allocations: 1.062 kB / 0.9558 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.7364, allocations: 31.91 kB / 0.9559 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.7364, allocations: 0 / 0.9559 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001214/0.7365, allocations: 43.09 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.7365, allocations: 55.47 kB / 0.9559 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.7366, allocations: 97.45 kB / 0.956 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.7366, allocations: 25.7 kB / 0.9561 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.7366, allocations: 84.14 kB / 0.9561 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.7366, allocations: 5.031 kB / 0.9561 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.7366, allocations: 1.25 kB / 0.9561 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.7367, allocations: 318.8 kB / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.7367, allocations: 2.375 kB / 0.9565 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-06/0.7367, allocations: 5.344 kB / 0.9565 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.485e-05/0.7367, allocations: 6.438 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7367, allocations: 1.188 kB / 0.9565 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.907e-05/0.7368, allocations: 33.42 kB / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7368, allocations: 5.875 kB / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7368, allocations: 0 / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.7368, allocations: 0 / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.737, allocations: 15.55 kB / 0.9565 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002382/0.7373, allocations: 0.5933 MB / 0.9571 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.7373, allocations: 0 / 0.9571 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.7373, allocations: 5.109 kB / 0.9571 GB, free: 4.664 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.7373, allocations: 118.8 kB / 0.9572 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.7374, allocations: 1.281 kB / 0.9572 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.891e-05/0.7375, allocations: 48.67 kB / 0.9573 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7375, allocations: 5.594 kB / 0.9573 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7375, allocations: 7.938 kB / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.7375, allocations: 0 / 0.9573 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.417e-05/0.7375, allocations: 144.6 kB / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7375, allocations: 0 / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.657e-05/0.7376, allocations: 20.7 kB / 0.9574 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7376, allocations: 0 / 0.9574 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.7377, allocations: 7.938 kB / 0.9574 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001783/0.7378, allocations: 0.5874 MB / 0.958 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7378, allocations: 0 / 0.958 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.4e-05/0.7379, allocations: 66.88 kB / 0.9581 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.7379, allocations: 77.11 kB / 0.9582 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.7379, allocations: 4.766 kB / 0.9582 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.738, allocations: 4.938 kB / 0.9582 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.738, allocations: 1.25 kB / 0.9582 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.738, allocations: 5.188 kB / 0.9582 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.671e-05/0.738, allocations: 80.52 kB / 0.9582 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.738, allocations: 0 / 0.9582 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001875/0.7382, allocations: 7.719 kB / 0.9583 GB, free: 3.418 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.7384, allocations: 112.2 kB / 0.9584 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.7385, allocations: 17.19 kB / 0.9584 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7385, allocations: 5.719 kB / 0.9584 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.411e-05/0.7386, allocations: 17.95 kB / 0.9584 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.549e-05/0.7387, allocations: 1.438 kB / 0.9584 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.739, allocations: 115.2 kB / 0.9585 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.557e-05/0.7391, allocations: 0.6732 MB / 0.9592 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.7392, allocations: 9.453 kB / 0.9592 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.7392, allocations: 7.438 kB / 0.9592 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7392, allocations: 0 / 0.9592 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.002422/0.7416, allocations: 409.8 kB / 0.9596 GB, free: 2.262 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches