Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007882/0.007882, allocations: 97.88 kB / 15.73 MB, free: 5.953 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.001825/0.001825, allocations: 196.9 kB / 16.68 MB, free: 5.875 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.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.11 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9218, allocations: 159.1 MB / 1.221 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002714/0.9245, allocations: 1.288 MB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.9256, allocations: 0.5877 MB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.9257, allocations: 7.938 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.9257, allocations: 0 / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.9258, allocations: 11.91 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.9263, allocations: 143.4 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.9264, allocations: 15.94 kB / 1.223 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.9265, allocations: 3.984 kB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.9265, allocations: 7.938 kB / 1.223 GB, free: 36 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.9266, allocations: 15.97 kB / 1.223 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.9266, allocations: 8 kB / 1.223 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.9271, allocations: 335.3 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.9272, allocations: 7.984 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.9272, allocations: 3.938 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.9275, allocations: 152.1 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.9275, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9275, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9275, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9512 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.0004744/0.9279, allocations: 363.1 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.928, allocations: 12.03 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.928, allocations: 8.938 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.9282, allocations: 164.3 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.9282, allocations: 4.312 kB / 1.224 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.9282, allocations: 4.375 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.9283, allocations: 38.25 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.9283, allocations: 4.125 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.9283, allocations: 7.938 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.9283, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.9284, allocations: 19.92 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.9287, allocations: 248.9 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.9289, allocations: 50.62 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.9289, allocations: 16.84 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.929, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.929, allocations: 42.55 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.929, allocations: 0 / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001745/0.9292, allocations: 57.62 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.9292, allocations: 51.41 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.9293, allocations: 97.8 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.9293, allocations: 33.7 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.9293, allocations: 88.08 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.9293, allocations: 7.906 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.9294, allocations: 17.72 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9295, allocations: 318.8 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.9295, allocations: 11.98 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.711e-05/0.9295, allocations: 13.72 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.9296, allocations: 33.66 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9296, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.239e-05/0.9297, allocations: 65.56 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.9297, allocations: 12.02 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.9297, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.9297, allocations: 0 / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.9298, allocations: 8 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.9298, allocations: 3.984 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.456e-05/0.9298, allocations: 4 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.9298, allocations: 0 / 1.225 GB, free: 13.52 MB / 0.9512 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.945e-05/0.9299, allocations: 114.3 kB / 1.225 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.9299, allocations: 4 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.93, allocations: 73.06 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9301, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9301, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9301, allocations: 0 / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.9302, allocations: 169.5 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9302, allocations: 4.125 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.9303, allocations: 8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9303, allocations: 3.938 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.9303, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9303, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.9303, allocations: 4 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.9304, allocations: 151.5 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.9305, allocations: 81.62 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.9305, allocations: 3.938 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.9305, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.9305, allocations: 0 / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.9306, allocations: 4 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.9306, allocations: 91.25 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9306, allocations: 0 / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002499/0.9308, allocations: 19.94 kB / 1.226 GB, free: 12.7 MB / 0.9512 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.0002363/0.9311, allocations: 123 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.9312, allocations: 19.98 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9312, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.9312, allocations: 15.94 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.9314, allocations: 3.938 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.9318, allocations: 122.6 kB / 1.226 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.932, allocations: 0.6768 MB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.9321, allocations: 4 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.9321, allocations: 11.44 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.9321, allocations: 0 / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of Templates: time 0.002622/0.9347, allocations: 0.5164 MB / 1.227 GB, free: 11.15 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches