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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001835/0.001835, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 195 kB / 16.53 MB, free: 6.664 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.144/1.144, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.34/2.34, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.8693 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5147, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002353/0.5171, allocations: 1.284 MB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.518, allocations: 0.5955 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.5181, allocations: 0 / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.5181, allocations: 3.938 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.5182, allocations: 3.984 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.5187, allocations: 143.1 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.5187, allocations: 23.86 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.5188, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/0.5188, allocations: 15.94 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.5188, allocations: 11.97 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.5189, allocations: 4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004836/0.5194, allocations: 343.3 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.5194, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.5194, allocations: 19.91 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.5197, allocations: 138 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5197, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5197, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.5197, allocations: 0 / 1.02 GB, free: 15.94 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.000401/0.5201, allocations: 371.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5202, allocations: 8.031 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.5202, allocations: 34.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.5202, allocations: 4.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5203, allocations: 164.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.5203, allocations: 384 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.5204, allocations: 8.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.732e-05/0.5205, allocations: 42.25 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5205, allocations: 3.938 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.894e-06/0.5205, allocations: 4 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5205, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.5206, allocations: 19.92 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.5208, allocations: 248.9 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.521, allocations: 50.56 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.5211, allocations: 20.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.5211, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.5211, allocations: 34.56 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5211, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001617/0.5213, allocations: 57.62 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5213, allocations: 51.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.727e-05/0.5214, allocations: 94.19 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.5214, allocations: 25.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.5215, allocations: 92.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.5215, allocations: 15.78 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.5215, allocations: 17.72 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.5216, allocations: 310.8 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.5216, allocations: 15.98 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.5217, allocations: 13.72 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.5217, allocations: 41.69 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5217, allocations: 3.938 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.883e-05/0.5218, allocations: 53.69 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5219, allocations: 11.94 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5219, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5219, allocations: 3.938 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.852e-05/0.5219, allocations: 11.98 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.522, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.522, allocations: 7.844 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.522, allocations: 4 kB / 1.022 GB, free: 13.88 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 6.378e-05/0.5221, allocations: 113.8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.5221, allocations: 8 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.5222, allocations: 61.11 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.5222, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5223, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5223, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.5224, allocations: 157.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5224, allocations: 128 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-05/0.5225, allocations: 16 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5225, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.5225, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5225, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5225, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.5226, allocations: 147.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.5226, allocations: 89 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.5227, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.5227, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.5227, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.5227, allocations: 7.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.5228, allocations: 79.28 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5228, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002472/0.523, allocations: 23.98 kB / 1.022 GB, free: 13.07 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.0003899/0.5234, allocations: 0.701 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.082e-05/0.5235, allocations: 31.92 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5235, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.066e-05/0.5236, allocations: 12.08 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.5238, allocations: 10.27 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.5242, allocations: 168.2 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.5244, allocations: 0.6807 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.5244, allocations: 7.906 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.5245, allocations: 11.44 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5245, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.5729, allocations: 1.362 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.276, allocations: 16.75 kB / 1.025 GB, free: 10.11 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