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: 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.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001804/0.001804, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.413/2.413, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7452, allocations: 140.3 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002402/0.7476, allocations: 1.314 MB / 0.9504 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008483/0.7485, allocations: 0.5818 MB / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.7485, allocations: 0 / 0.9509 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.7486, allocations: 7.875 kB / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.7486, allocations: 0 / 0.951 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.7493, allocations: 127 kB / 0.9511 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.153e-05/0.7493, allocations: 8.75 kB / 0.9511 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.7494, allocations: 5.75 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.7494, allocations: 2.656 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.7494, allocations: 1.406 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.7495, allocations: 1.531 kB / 0.9511 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.7499, allocations: 344.4 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.7499, allocations: 9.297 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.7499, allocations: 5.375 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.7502, allocations: 136.8 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7502, allocations: 1.375 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7502, allocations: 3.938 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7502, allocations: 3.938 kB / 0.9516 GB, free: 7.195 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.0003807/0.7506, allocations: 355.8 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7507, allocations: 9.625 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.7507, allocations: 10.3 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.7508, allocations: 160.4 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.7508, allocations: 1.75 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.7508, allocations: 384 / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.045e-05/0.7509, allocations: 38.38 kB / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.7509, allocations: 192 / 0.9521 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.7509, allocations: 7.938 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.7509, allocations: 1.156 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.751, allocations: 2.656 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.7511, allocations: 152.2 kB / 0.9523 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/0.7512, allocations: 24.8 kB / 0.9523 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.7512, allocations: 10.14 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.7512, allocations: 1.438 kB / 0.9523 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.7512, allocations: 40.19 kB / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.7512, allocations: 0 / 0.9524 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.7514, allocations: 47.22 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.7514, allocations: 51.41 kB / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.588e-05/0.7514, allocations: 97.02 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.7515, allocations: 25.7 kB / 0.9526 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/0.7515, allocations: 80.39 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.7515, allocations: 13.19 kB / 0.9527 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.7515, allocations: 20.55 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.7516, allocations: 312.2 kB / 0.953 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.7516, allocations: 4.938 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/0.7516, allocations: 2.219 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.7517, allocations: 13.98 kB / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7517, allocations: 0 / 0.953 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.719e-05/0.7517, allocations: 46.91 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7517, allocations: 5.062 kB / 0.953 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7518, allocations: 3.938 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7518, allocations: 1 kB / 0.953 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.7519, allocations: 7.312 kB / 0.9531 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002377/0.7522, allocations: 0.5829 MB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.7522, allocations: 7.906 kB / 0.9536 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.7522, allocations: 5.219 kB / 0.9536 GB, free: 4.941 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 5.44e-05/0.7523, allocations: 113.5 kB / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.7523, allocations: 0 / 0.9537 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.7524, allocations: 48.97 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7524, allocations: 4.969 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7524, allocations: 0 / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7524, allocations: 0.9062 kB / 0.9538 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.7525, allocations: 155.8 kB / 0.9539 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7525, allocations: 5.281 kB / 0.9539 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.7526, allocations: 16 kB / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7526, allocations: 0 / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.7526, allocations: 0 / 0.954 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001908/0.7528, allocations: 0.5825 MB / 0.9545 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7528, allocations: 13.14 kB / 0.9545 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.208e-05/0.7529, allocations: 62.3 kB / 0.9546 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.7529, allocations: 78.61 kB / 0.9547 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.7529, allocations: 0 / 0.9547 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.669e-05/0.7529, allocations: 5.578 kB / 0.9547 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.753, allocations: 3.938 kB / 0.9547 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.753, allocations: 1.062 kB / 0.9547 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.753, allocations: 78.03 kB / 0.9548 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.753, allocations: 128 / 0.9548 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002036/0.7532, allocations: 11.25 kB / 0.9548 GB, free: 3.707 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.0001962/0.7534, allocations: 114.7 kB / 0.9549 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001785/0.7536, allocations: 25.3 kB / 0.9549 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.679e-05/0.7536, allocations: 0 / 0.9549 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.7537, allocations: 13.67 kB / 0.9549 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.7539, allocations: 1.281 kB / 0.9549 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.7543, allocations: 121.2 kB / 0.955 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.7544, allocations: 0.6713 MB / 0.9557 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.7545, allocations: 1.219 kB / 0.9557 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.7545, allocations: 7.438 kB / 0.9557 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of SimCode: time 7.41e-07/0.7545, allocations: 0.9062 kB / 0.9557 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.002755/0.7573, allocations: 441.4 kB / 0.9561 GB, free: 2.543 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/jenkins/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