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.001309/0.001309, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00156/0.00156, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.573/2.573, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.528, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002221/0.5303, allocations: 1.358 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.5313, allocations: 0.6073 MB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.5313, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.5313, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.5314, allocations: 11.92 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.5318, allocations: 115.6 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.5319, allocations: 23.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.5319, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.5319, allocations: 7.938 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.532, allocations: 11.92 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.532, allocations: 4 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.5325, allocations: 339.4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.5325, allocations: 7.938 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.5325, allocations: 4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.5328, allocations: 153.9 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5328, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5328, allocations: 4 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.5328, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 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.000427/0.5332, allocations: 355.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5333, allocations: 12.03 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.5333, allocations: 34.73 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.5334, allocations: 0.9375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5335, allocations: 176.2 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.5335, allocations: 8.375 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.5335, allocations: 384 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.5336, allocations: 42.25 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.5336, allocations: 7.875 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5337, allocations: 3.984 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5337, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.5337, allocations: 15.98 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.534, allocations: 256.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.5342, allocations: 54.56 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.5343, allocations: 16.86 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.5343, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5343, allocations: 30.56 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.5343, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000163/0.5345, allocations: 61.62 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.5345, allocations: 59.39 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.5346, allocations: 97.86 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.5346, allocations: 25.7 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5347, allocations: 80.14 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.5347, allocations: 11.81 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.5347, allocations: 21.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.5348, allocations: 310.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.5348, allocations: 12 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.5349, allocations: 29.7 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.5349, allocations: 25.66 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5349, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.973e-05/0.535, allocations: 61.59 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5351, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.5351, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5351, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.5351, allocations: 15.95 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5352, allocations: 7.938 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.5352, allocations: 3.938 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.5352, allocations: 0 / 1.021 GB, free: 14.06 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.603e-05/0.5353, allocations: 117.8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.5353, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.5354, allocations: 57.61 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5354, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5355, allocations: 3.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.5355, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.5356, allocations: 161.7 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5356, allocations: 3.984 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.5357, allocations: 7.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5357, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5357, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5357, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5357, allocations: 3.938 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.5358, allocations: 155.4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.5359, allocations: 77.11 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.5359, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.5359, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.536, allocations: 11.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.536, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.536, allocations: 79.28 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.536, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002434/0.5362, allocations: 20 kB / 1.022 GB, free: 13.27 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.0004221/0.5367, allocations: 0.7162 MB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.5368, allocations: 23.94 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5368, allocations: 0 / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.011e-05/0.5368, allocations: 11.98 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.537, allocations: 8.625 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.5374, allocations: 173.8 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.5376, allocations: 0.6731 MB / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.074e-05/0.5377, allocations: 0 / 1.023 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.5377, allocations: 23.42 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5377, allocations: 0 / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.5486, allocations: 1.261 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.5488, allocations: 232.3 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/2.191, allocations: 0 / 1.025 GB, free: 10.16 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