Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008597/0.008597, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003156, allocations: 12 kB / 0.8729 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/0.5588, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001648/0.5605, allocations: 1.024 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5617, allocations: 0.5879 MB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.5617, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.5618, allocations: 7.938 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.5619, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.5625, allocations: 115.6 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.629e-05/0.5626, allocations: 19.94 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.5626, allocations: 7.922 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.5627, allocations: 7.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.5627, allocations: 8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.5627, allocations: 4 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.5633, allocations: 343.4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.5633, allocations: 7.922 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.5633, allocations: 29.7 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.5636, allocations: 149.9 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5636, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5636, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.5636, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 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.0003834/0.564, allocations: 363.4 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5641, allocations: 8.031 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.5641, allocations: 38.69 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.232e-05/0.5641, allocations: 8.875 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5643, allocations: 164.3 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5643, allocations: 384 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.5643, allocations: 8.375 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5644, allocations: 42.25 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.5644, allocations: 3.938 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.5644, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5644, allocations: 0 / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.5645, allocations: 15.98 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.5648, allocations: 256.8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.565, allocations: 54.55 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.5651, allocations: 20.84 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.5651, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.5651, allocations: 38.56 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.5651, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.5653, allocations: 57.62 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.5653, allocations: 55.41 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.076e-05/0.5654, allocations: 97.84 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5654, allocations: 29.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.5655, allocations: 84.14 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.5655, allocations: 7.812 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.5655, allocations: 13.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.5656, allocations: 318.8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.5656, allocations: 7.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.5657, allocations: 17.72 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.5657, allocations: 33.66 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5657, allocations: 3.938 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.015e-05/0.5658, allocations: 53.69 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.5659, allocations: 12.02 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.5659, allocations: 3.984 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5659, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.828e-05/0.5659, allocations: 11.94 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5659, allocations: 0 / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.109e-05/0.566, allocations: 19.78 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.566, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 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 7.117e-05/0.5661, allocations: 113.8 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.5661, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.5662, allocations: 65.17 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5662, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5663, allocations: 128 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5663, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.5664, allocations: 165.5 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5664, allocations: 7.938 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.5665, allocations: 4 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5665, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.5665, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5665, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5665, allocations: 8.469 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.5666, allocations: 151.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.5667, allocations: 85.02 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.5667, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.5667, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.5668, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.5668, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.5668, allocations: 83.27 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5668, allocations: 0 / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002516/0.5671, allocations: 24 kB / 1.028 GB, free: 10.65 MB / 0.7794 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.0004211/0.5675, allocations: 0.7107 MB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.59e-05/0.5676, allocations: 27.92 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5676, allocations: 4.062 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.5676, allocations: 12 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5679, allocations: 0.5625 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.5683, allocations: 174.2 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.5685, allocations: 0.677 MB / 1.029 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.5685, allocations: 8 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.5686, allocations: 7.438 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of SimCode: time 4.71e-07/0.5686, allocations: 4 kB / 1.029 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.5787, allocations: 1.204 MB / 1.031 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.5789, allocations: 222.7 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.207, allocations: 0 / 1.031 GB, free: 7.652 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches