Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_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_latest_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.001355/0.001355, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001587/0.001587, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7448 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.86 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2983, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002361/0.3007, allocations: 1.351 MB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.3016, allocations: 0.5917 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.693e-05/0.3016, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.3017, allocations: 3.984 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.3017, allocations: 7.922 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005175/0.3023, allocations: 123.6 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.143e-05/0.3023, allocations: 15.92 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.3024, allocations: 11.94 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.3024, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.3024, allocations: 15.91 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.3025, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.3029, allocations: 343.3 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.3029, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.3029, allocations: 19.91 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.3032, allocations: 140 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3032, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3032, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.3032, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 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.0003924/0.3036, allocations: 359.4 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.3037, allocations: 12.03 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.3037, allocations: 4.844 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3038, allocations: 160.4 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3038, allocations: 8.312 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.3038, allocations: 384 / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.3039, allocations: 50.19 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.304, allocations: 192 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.304, allocations: 7.938 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.304, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.304, allocations: 15.98 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.3043, allocations: 249 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3045, allocations: 54.42 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.3046, allocations: 20.92 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3046, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3046, allocations: 30.56 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3046, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001586/0.3048, allocations: 57.67 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3048, allocations: 55.41 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.3049, allocations: 97.86 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3049, allocations: 25.7 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.305, allocations: 84.05 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.305, allocations: 23.72 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.305, allocations: 21.66 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.3051, allocations: 314.8 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.3052, allocations: 12 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.3052, allocations: 17.7 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.3052, allocations: 33.72 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3053, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.858e-05/0.3053, allocations: 61.56 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3054, allocations: 7.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3054, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.3054, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.3054, allocations: 15.98 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3055, allocations: 3.984 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.3055, allocations: 8.031 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3055, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 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 6.564e-05/0.3056, allocations: 113.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3056, allocations: 3.938 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.3057, allocations: 65.17 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3057, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3057, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3057, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3059, allocations: 169.5 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3059, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.3059, allocations: 4 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3059, allocations: 3.938 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.306, allocations: 480 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.306, allocations: 0 / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.306, allocations: 4 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3061, allocations: 155.4 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.3061, allocations: 81.11 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3061, allocations: 3.984 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.3062, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.3062, allocations: 4 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3062, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.3063, allocations: 79.28 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3063, allocations: 4 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002349/0.3065, allocations: 19.94 kB / 1.073 GB, free: 5.387 MB / 0.8262 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.0001644/0.3067, allocations: 123.2 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.399e-05/0.3068, allocations: 23.94 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3068, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.3068, allocations: 15.98 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.307, allocations: 3.938 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.3073, allocations: 144.2 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.3075, allocations: 0.6768 MB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.3075, allocations: 8 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.3076, allocations: 11.44 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3076, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.0023/0.3099, allocations: 0.5039 MB / 1.074 GB, free: 3.82 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches