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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 209.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7715 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.42 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4296, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002899/0.4325, allocations: 1.321 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.4336, allocations: 0.5974 MB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.4337, allocations: 3.938 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.4337, allocations: 7.938 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.4337, allocations: 7.969 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.4344, allocations: 143.4 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.686e-05/0.4344, allocations: 19.88 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.4345, allocations: 3.984 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.4345, allocations: 8 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.4346, allocations: 11.92 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.4346, allocations: 0 / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.4351, allocations: 343.4 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.4352, allocations: 4 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.4352, allocations: 19.86 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.4355, allocations: 147.1 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4355, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4355, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.4355, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 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.0005393/0.436, allocations: 282 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.4361, allocations: 12.03 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.545e-05/0.4361, allocations: 8.125 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.4361, allocations: 38.67 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.4361, allocations: 0.9375 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4362, allocations: 106.5 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.4363, allocations: 4.375 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.4363, allocations: 4.375 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4364, allocations: 42 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4364, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4364, allocations: 4 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4364, allocations: 4 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.4365, allocations: 15.98 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.4368, allocations: 223.9 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4371, allocations: 46.69 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.4371, allocations: 12.86 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4371, allocations: 4 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4372, allocations: 34.56 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4372, allocations: 3.938 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000206/0.4374, allocations: 61.58 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4374, allocations: 55.41 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4376, allocations: 98.02 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.4376, allocations: 29.7 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.4377, allocations: 84.14 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.4377, allocations: 19.83 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.4378, allocations: 21.7 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4379, allocations: 318.8 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.4379, allocations: 8 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.215e-05/0.438, allocations: 17.7 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.787e-05/0.438, allocations: 37.72 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.438, allocations: 4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.55e-05/0.4381, allocations: 61.69 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.4381, allocations: 4 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4382, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4382, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.748e-05/0.4382, allocations: 11.94 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.4382, allocations: 3.984 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.4382, allocations: 7.953 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.4383, allocations: 0 / 1.288 GB, free: 7.23 MB / 0.9825 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 9.237e-05/0.4383, allocations: 117.8 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.4384, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.4385, allocations: 61.38 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4385, allocations: 3.938 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4385, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4385, allocations: 7.922 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.4387, allocations: 128.7 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4387, allocations: 3.984 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.4387, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4387, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.4388, allocations: 4 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4388, allocations: 4 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4388, allocations: 0 / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.4389, allocations: 151.4 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.4389, allocations: 0 / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4389, allocations: 3.938 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.439, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.439, allocations: 7.984 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.439, allocations: 4 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.4391, allocations: 87.22 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4391, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002444/0.4393, allocations: 19.88 kB / 1.289 GB, free: 6.559 MB / 0.9825 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.0006393/0.4399, allocations: 0.6972 MB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.44, allocations: 27.97 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.44, allocations: 0 / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.392e-05/0.4401, allocations: 15.98 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.4403, allocations: 0 / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.4408, allocations: 164.4 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4411, allocations: 0.6729 MB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.4412, allocations: 8.062 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.4412, allocations: 15.36 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4412, allocations: 0 / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.4636, allocations: 1.545 MB / 1.292 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.94, allocations: 5.609 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.019847649964504]