Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001139/0.001139, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.001252/0.001252, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.12 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.717, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002134/0.7192, allocations: 1.253 MB / 1.169 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.7201, allocations: 0.594 MB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.7201, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.7202, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.7202, allocations: 3.938 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.7207, allocations: 136.4 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.7208, allocations: 12 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.7208, allocations: 7.969 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.7208, allocations: 4 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.7209, allocations: 7.938 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.7209, allocations: 0 / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.7214, allocations: 343.3 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.7214, allocations: 3.984 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.7214, allocations: 0 / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.7217, allocations: 143.5 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7217, allocations: 3.938 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7217, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7217, allocations: 0 / 1.17 GB, free: 1.332 MB / 0.8887 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.0003551/0.7221, allocations: 357.3 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7221, allocations: 8.922 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.7221, allocations: 0.9375 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.7222, allocations: 168.3 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.7222, allocations: 4.312 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.7223, allocations: 4.375 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.3e-05/0.7223, allocations: 26.27 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.7224, allocations: 192 / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.7224, allocations: 7.938 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7224, allocations: 0 / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.7224, allocations: 11.98 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.7226, allocations: 149.7 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.752e-05/0.7226, allocations: 26.61 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.7227, allocations: 8.859 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.7227, allocations: 3.984 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.7227, allocations: 38.56 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7227, allocations: 4 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.7229, allocations: 41.64 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.7229, allocations: 51.41 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.723, allocations: 101.8 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.723, allocations: 25.7 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.723, allocations: 84.14 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.723, allocations: 7.844 kB / 1.171 GB, free: 24 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.7231, allocations: 17.97 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7232, allocations: 310.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.429e-05/0.7232, allocations: 11.94 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.7232, allocations: 0 / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.7232, allocations: 12.84 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7233, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.755e-05/0.7233, allocations: 41.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.7233, allocations: 6.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.7233, allocations: 4.094 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.7234, allocations: 3.938 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.7235, allocations: 11.98 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.7238, allocations: 0.5821 MB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.7239, allocations: 0 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.7239, allocations: 4.031 kB / 1.172 GB, free: 14.98 MB / 0.9044 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.166e-05/0.7239, allocations: 113.9 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.7239, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.531e-05/0.724, allocations: 52.69 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.7241, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7241, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.7241, allocations: 89.02 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.7241, allocations: 3.984 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.7241, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.7242, allocations: 3.969 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001614/0.7243, allocations: 133.8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001187/0.7245, allocations: 214.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.903e-05/0.7245, allocations: 4.031 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.7245, allocations: 83.41 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of Backend: time 2.2e-07/0.7245, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.7251, allocations: 158.2 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004117/0.7255, allocations: 0.5536 MB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of Templates: time 0.003188/0.7287, allocations: 1.111 MB / 1.174 GB, free: 12.36 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches