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.006093/0.006093, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001239/0.001239, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.559 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.342/2.342, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.8132, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002136/0.8154, allocations: 1.316 MB / 0.9509 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.8162, allocations: 0.6071 MB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.322e-05/0.8163, allocations: 0 / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.8163, allocations: 0 / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.8163, allocations: 1.375 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.8167, allocations: 118 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.789e-05/0.8168, allocations: 9.5 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.8168, allocations: 9.344 kB / 0.9516 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.8169, allocations: 5.375 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.981e-05/0.8169, allocations: 6.688 kB / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.8169, allocations: 0 / 0.9516 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.8173, allocations: 341 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.8174, allocations: 3.984 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.8174, allocations: 2.719 kB / 0.9519 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.8176, allocations: 86.66 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.8176, allocations: 4 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8176, allocations: 7.938 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8176, allocations: 1.094 kB / 0.952 GB, free: 7.211 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.0002962/0.8179, allocations: 351.2 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8179, allocations: 10.09 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.818, allocations: 0.9375 kB / 0.9524 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.818, allocations: 165.7 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.818, allocations: 384 / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.8181, allocations: 2.062 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.78e-05/0.8181, allocations: 41.19 kB / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.8182, allocations: 192 / 0.9526 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.8182, allocations: 5.375 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.8182, allocations: 0 / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.8182, allocations: 2.781 kB / 0.9526 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.8183, allocations: 152.3 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.8184, allocations: 31.91 kB / 0.9528 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.8184, allocations: 11.58 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.8184, allocations: 5.219 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.8184, allocations: 30.56 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8184, allocations: 1.219 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001217/0.8186, allocations: 42.53 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.8186, allocations: 57.12 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.8186, allocations: 95.3 kB / 0.953 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.8187, allocations: 25.95 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.156e-05/0.8187, allocations: 85.42 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.8187, allocations: 9.156 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.8187, allocations: 19.38 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.8188, allocations: 316 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.8188, allocations: 1.375 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.8188, allocations: 2.781 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.8188, allocations: 14.02 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8188, allocations: 12 kB / 0.9535 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.074e-05/0.8189, allocations: 34.92 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.8189, allocations: 4.281 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.8189, allocations: 5.219 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8189, allocations: 7.922 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.8191, allocations: 7 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002161/0.8193, allocations: 0.5837 MB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.8193, allocations: 7.969 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8194, allocations: 1.5 kB / 0.9541 GB, free: 4.957 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.586e-05/0.8194, allocations: 114.9 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-06/0.8194, allocations: 0.9688 kB / 0.9542 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.8195, allocations: 45.33 kB / 0.9542 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8195, allocations: 3.984 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.8195, allocations: 0 / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.8195, allocations: 5.406 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.716e-05/0.8196, allocations: 152.1 kB / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8196, allocations: 0 / 0.9544 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.8197, allocations: 11.98 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.8197, allocations: 0 / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.8197, allocations: 1.281 kB / 0.9544 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001634/0.8199, allocations: 0.5789 MB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8199, allocations: 8.031 kB / 0.955 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.335e-05/0.8199, allocations: 67.38 kB / 0.955 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.82, allocations: 77.11 kB / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.82, allocations: 1.219 kB / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.82, allocations: 0 / 0.9551 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.82, allocations: 9.016 kB / 0.9551 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.82, allocations: 5.328 kB / 0.9551 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.648e-05/0.82, allocations: 80.47 kB / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.82, allocations: 0 / 0.9552 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001883/0.8202, allocations: 15.94 kB / 0.9552 GB, free: 3.723 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.0001376/0.8204, allocations: 107.7 kB / 0.9553 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.8205, allocations: 24.52 kB / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8205, allocations: 0 / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.8206, allocations: 19.12 kB / 0.9554 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.8208, allocations: 5.5 kB / 0.9554 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.8211, allocations: 138.6 kB / 0.9555 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.879e-05/0.8212, allocations: 0.6763 MB / 0.9562 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.8212, allocations: 8.594 kB / 0.9562 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.8212, allocations: 0 / 0.9562 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.00213/0.8233, allocations: 0.6867 MB / 0.9568 GB, free: 2.41 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","/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