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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_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.001718/0.001718, 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.001629/0.001629, allocations: 198.2 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001698, allocations: 66.36 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2509, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002009/0.2529, allocations: 1.292 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.2538, allocations: 0.5895 MB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.2538, allocations: 3.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.2538, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.2539, allocations: 15.91 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.2543, allocations: 144.6 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.356e-05/0.2543, allocations: 15.94 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.2544, allocations: 7.984 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.2544, allocations: 7.938 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.2544, allocations: 15.92 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-06/0.2544, allocations: 3.938 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.2549, allocations: 335.4 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.2549, allocations: 7.984 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.255, allocations: 11.92 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.2552, allocations: 140 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2552, allocations: 0 / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2552, allocations: 4 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.2552, allocations: 0 / 1.067 GB, free: 11.61 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.0003734/0.2556, allocations: 367.4 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2556, allocations: 12.03 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.2556, allocations: 30.75 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.2557, allocations: 8.844 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.2558, allocations: 168.3 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.2558, allocations: 4.375 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-06/0.2558, allocations: 4.375 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.707e-05/0.2559, allocations: 42.25 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2559, allocations: 3.938 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.2559, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.2559, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.256, allocations: 16 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.2562, allocations: 244.9 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.2564, allocations: 54.5 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.2564, allocations: 20.91 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.2565, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.2565, allocations: 30.56 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2565, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000136/0.2566, allocations: 57.62 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2567, allocations: 55.41 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.914e-05/0.2567, allocations: 105.8 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2567, allocations: 25.7 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.2568, allocations: 84.05 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2568, allocations: 15.83 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.2568, allocations: 17.62 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.257, allocations: 322.8 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.257, allocations: 7.938 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.257, allocations: 21.72 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.2571, allocations: 38.02 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2571, allocations: 3.938 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.276e-05/0.2572, allocations: 57.67 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2572, allocations: 7.938 kB / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.2572, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.2572, allocations: 0 / 1.068 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.2572, allocations: 11.94 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2573, allocations: 0 / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.2573, allocations: 8.031 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.2573, allocations: 0 / 1.068 GB, free: 9.551 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.95e-05/0.2574, allocations: 121.8 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.2574, allocations: 0 / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.2575, allocations: 57.19 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.2575, allocations: 128 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2575, allocations: 4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.2575, allocations: 4 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.2577, allocations: 165.5 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2577, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.2577, allocations: 11.92 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2577, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-06/0.2577, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2577, allocations: 0 / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2577, allocations: 4 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.2579, allocations: 147.5 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.2579, allocations: 85.05 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.2579, allocations: 4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.258, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.258, allocations: 4 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.258, allocations: 3.984 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.258, allocations: 75.28 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.258, allocations: 4 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002097/0.2582, allocations: 16 kB / 1.069 GB, free: 8.758 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.0004159/0.2587, allocations: 0.7051 MB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.2587, allocations: 27.92 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.2588, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.2588, allocations: 15.98 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.259, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.2593, allocations: 172.7 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.2596, allocations: 0.6768 MB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.2596, allocations: 7.984 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2596, allocations: 7.438 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2596, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.603/4.863, allocations: 1.385 MB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/17.74, allocations: 5.406 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > 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/jenkins1/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