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: 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_latest_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_latest_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.001446/0.001446, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001079/0.001079, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 461.7 MB / 0.7352 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6555, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002273/0.6578, allocations: 1.253 MB / 1.209 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.6588, allocations: 0.5915 MB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.6589, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.6589, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.659, allocations: 0 / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.6595, allocations: 146.6 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.039e-05/0.6596, allocations: 11.94 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.6597, allocations: 7.984 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.6597, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.6597, allocations: 11.94 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.6598, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.6603, allocations: 343.3 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.987e-06/0.6603, allocations: 0 / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.6603, allocations: 4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.6606, allocations: 143.5 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6606, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6606, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6606, allocations: 0 / 1.211 GB, free: 11.14 MB / 0.9356 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.000382/0.661, allocations: 357.3 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.6611, allocations: 8.031 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.6611, allocations: 0.9375 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.6612, allocations: 168.3 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.6612, allocations: 384 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.6612, allocations: 384 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.6613, allocations: 34.2 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6613, allocations: 192 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.6614, allocations: 3.938 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.6614, allocations: 0 / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.6614, allocations: 15.98 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.6615, allocations: 145.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.6616, allocations: 26.56 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.6616, allocations: 8.922 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.6616, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.6617, allocations: 34.5 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6617, allocations: 7.938 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001275/0.6618, allocations: 41.64 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.6618, allocations: 59.34 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.6619, allocations: 93.84 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.6619, allocations: 25.7 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.662, allocations: 88.14 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.662, allocations: 7.844 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.662, allocations: 9.969 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.6622, allocations: 318.8 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.6622, allocations: 4 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.6622, allocations: 7.984 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.6622, allocations: 12.8 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.6622, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.457e-05/0.6623, allocations: 37.7 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6623, allocations: 4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6623, allocations: 8.094 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6624, allocations: 3.938 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.6625, allocations: 11.98 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003568/0.6629, allocations: 0.5821 MB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.6629, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.6629, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 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.083e-05/0.663, allocations: 113.9 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.663, allocations: 4.031 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.6631, allocations: 44.81 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6631, allocations: 0 / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6631, allocations: 0 / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.6632, allocations: 89 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.6632, allocations: 0 / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.571e-05/0.6632, allocations: 4 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.6632, allocations: 7.938 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001654/0.6634, allocations: 133.8 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001295/0.6635, allocations: 218.8 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.652e-05/0.6636, allocations: 0 / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.6636, allocations: 91.34 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of Backend: time 2.91e-07/0.6636, allocations: 0 / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005782/0.6642, allocations: 150.2 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004209/0.6646, allocations: 0.5578 MB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.00319/0.6678, allocations: 1.109 MB / 1.215 GB, free: 6.203 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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