Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 198.3 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.36/2.36, allocations: 390.2 MB / 0.6646 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.89 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6816, allocations: 140.3 MB / 0.9496 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002669/0.6844, allocations: 1.286 MB / 0.9508 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009188/0.6853, allocations: 0.5923 MB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.6853, allocations: 4 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.6854, allocations: 0 / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.597e-05/0.6854, allocations: 5.531 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.6859, allocations: 147 kB / 0.9516 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.686, allocations: 22.3 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.6861, allocations: 1.531 kB / 0.9516 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.243e-05/0.6861, allocations: 9.031 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.6861, allocations: 12.05 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.6862, allocations: 4 kB / 0.9516 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.6866, allocations: 346.8 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.6866, allocations: 0 / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.6866, allocations: 12.09 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.6869, allocations: 154.5 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6869, allocations: 0 / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6869, allocations: 1.312 kB / 0.9521 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6869, allocations: 0 / 0.9521 GB, free: 7.234 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004025/0.6873, allocations: 354.6 kB / 0.9524 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.6873, allocations: 14.41 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.6874, allocations: 2.312 kB / 0.9525 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.362e-05/0.6875, allocations: 168.3 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.6875, allocations: 1.469 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.6875, allocations: 3.219 kB / 0.9526 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.6876, allocations: 44.19 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6876, allocations: 1.5 kB / 0.9527 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.6877, allocations: 3.938 kB / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6877, allocations: 0 / 0.9527 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.837e-05/0.6877, allocations: 17.31 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.688, allocations: 257 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.6882, allocations: 50.27 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.6883, allocations: 20.02 kB / 0.953 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.6883, allocations: 5.031 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.6883, allocations: 40 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6883, allocations: 0 / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001868/0.6885, allocations: 55.78 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.6885, allocations: 52.81 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.6886, allocations: 100.7 kB / 0.9532 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.6886, allocations: 26.95 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.6886, allocations: 81.45 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.6887, allocations: 13.28 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.6887, allocations: 25.86 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.6888, allocations: 312.1 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.6888, allocations: 3.688 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.6888, allocations: 27.77 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.6889, allocations: 28.59 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6889, allocations: 1.375 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.083e-05/0.689, allocations: 59.31 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.689, allocations: 13.69 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.689, allocations: 0 / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.689, allocations: 1.344 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.537e-05/0.6891, allocations: 7.281 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.6891, allocations: 0 / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.673e-05/0.6891, allocations: 13.06 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.6891, allocations: 6.672 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.6892, allocations: 111.1 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.6892, allocations: 1.406 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6893, allocations: 64.09 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.6893, allocations: 1.188 kB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6893, allocations: 0 / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6894, allocations: 0 / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.6895, allocations: 159.2 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6895, allocations: 1.125 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.6895, allocations: 13.3 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6895, allocations: 480 / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6895, allocations: 1.375 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6895, allocations: 4 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6895, allocations: 5.25 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.352e-05/0.6896, allocations: 155.5 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.6897, allocations: 81.02 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.6897, allocations: 5.625 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.6897, allocations: 0 / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.6898, allocations: 6.547 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.6898, allocations: 0 / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.909e-05/0.6898, allocations: 81.97 kB / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6898, allocations: 0 / 0.9545 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.6901, allocations: 23.19 kB / 0.9545 GB, free: 4.664 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001463/0.6902, allocations: 121.8 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.6903, allocations: 27.27 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6903, allocations: 0 / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.6904, allocations: 16.36 kB / 0.9547 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.6906, allocations: 8.875 kB / 0.9547 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.6908, allocations: 113.6 kB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.691, allocations: 0.6859 MB / 0.9555 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.691, allocations: 6.156 kB / 0.9555 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.6911, allocations: 13.34 kB / 0.9555 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6911, allocations: 0 / 0.9555 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of Templates: time 0.00278/0.6939, allocations: 0.5161 MB / 0.956 GB, free: 3.426 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches