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.001724/0.001724, allocations: 113 kB / 18.94 MB, free: 2.934 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.00225/0.00225, allocations: 207.8 kB / 22.25 MB, free: 5.082 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.02 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.864/2.864, allocations: 476.7 MB / 0.7707 GB, free: 4.266 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="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"}) [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.002054/0.002054, allocations: 67.75 kB / 1.117 GB, free: 40.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002752/0.3465, allocations: 1.315 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3477, allocations: 0.5973 MB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.3478, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.3478, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.3478, allocations: 3.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.3484, allocations: 155.4 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.3485, allocations: 15.88 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.3485, allocations: 4 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.68e-05/0.3486, allocations: 11.98 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.3486, allocations: 11.88 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.3486, allocations: 0 / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.3492, allocations: 351.3 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.3492, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.3493, allocations: 7.938 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3496, allocations: 159 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3496, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3496, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3496, allocations: 0 / 1.286 GB, free: 9.086 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.0005004/0.3501, allocations: 278 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.3501, allocations: 8.031 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.3502, allocations: 34.75 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3502, allocations: 8.891 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3503, allocations: 106.5 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3504, allocations: 4.375 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3504, allocations: 4.375 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.3505, allocations: 50.19 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3505, allocations: 3.938 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3505, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.3505, allocations: 0 / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.3506, allocations: 8 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.351, allocations: 224.1 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3512, allocations: 46.56 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.3512, allocations: 16.84 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3513, allocations: 7.938 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3513, allocations: 34.56 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3513, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002092/0.3515, allocations: 57.64 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3515, allocations: 55.41 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.3516, allocations: 102 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.3517, allocations: 25.7 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.3517, allocations: 80.14 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3517, allocations: 23.78 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.3518, allocations: 13.72 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3519, allocations: 322.8 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.3519, allocations: 8 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.352, allocations: 21.66 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.352, allocations: 37.88 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.352, allocations: 3.938 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.528e-05/0.3521, allocations: 57.62 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3522, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3522, allocations: 3.938 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3522, allocations: 4.031 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.3522, allocations: 8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3522, allocations: 4 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.3523, allocations: 3.953 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3523, allocations: 4 kB / 1.288 GB, free: 7.234 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 0.0001025/0.3524, allocations: 120.2 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.3524, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.3525, allocations: 61.31 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3525, allocations: 4 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3525, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3525, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3527, allocations: 136.7 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3527, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-05/0.3528, allocations: 4 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3528, allocations: 3.984 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3528, allocations: 8 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3528, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3528, allocations: 128 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.3529, allocations: 159.4 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3529, allocations: 3.953 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.353, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.353, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.353, allocations: 0 / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.353, allocations: 3.984 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.3531, allocations: 79.28 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3531, allocations: 0 / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002639/0.3534, allocations: 27.81 kB / 1.288 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.000578/0.3539, allocations: 0.7006 MB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.354, allocations: 20.31 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.354, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.3541, allocations: 16.08 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3543, allocations: 10.22 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.3548, allocations: 164.4 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3552, allocations: 0.6768 MB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.3552, allocations: 7.984 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.3552, allocations: 7.438 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3552, allocations: 4 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.3857, allocations: 1.502 MB / 1.291 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.81, allocations: 12.06 kB / 1.291 GB, free: 3.484 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: 18.668585964944214]