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.001297/0.001297, allocations: 119 kB / 17.17 MB, free: 5.906 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.001403/0.001403, allocations: 211 kB / 20.13 MB, free: 2.969 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.793/2.793, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 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.002456/0.002456, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217/1.219, allocations: 169.9 MB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003/1.222, allocations: 1.313 MB / 1.28 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001249/1.223, allocations: 0.5942 MB / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/1.223, allocations: 0 / 1.281 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/1.223, allocations: 4.688 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/1.223, allocations: 9.734 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/1.224, allocations: 145 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.776e-05/1.224, allocations: 19.22 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.046e-05/1.224, allocations: 2.859 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/1.224, allocations: 18.44 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/1.224, allocations: 5.438 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/1.224, allocations: 5.125 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007189/1.225, allocations: 341.3 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/1.225, allocations: 5.688 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/1.225, allocations: 12.31 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/1.226, allocations: 148.5 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.226, allocations: 4.562 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.087e-06/1.226, allocations: 0.5312 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.226, allocations: 0 / 1.281 GB, free: 10.11 MB / 0.9981 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.0006179/1.226, allocations: 361.3 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/1.226, allocations: 9.875 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/1.226, allocations: 0.75 kB / 1.282 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.674e-05/1.226, allocations: 32.64 kB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/1.226, allocations: 5.891 kB / 1.282 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/1.227, allocations: 167.4 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/1.227, allocations: 5.438 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/1.227, allocations: 1.938 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/1.227, allocations: 49.03 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.227, allocations: 0.5938 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/1.227, allocations: 0 / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.227, allocations: 1.031 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.305e-05/1.227, allocations: 19.58 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/1.227, allocations: 257.3 kB / 1.282 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/1.228, allocations: 44.17 kB / 1.282 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/1.228, allocations: 17.78 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/1.228, allocations: 1.531 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.228, allocations: 31.72 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.228, allocations: 4.438 kB / 1.282 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0002391/1.228, allocations: 63.59 kB / 1.283 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.228, allocations: 52.47 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/1.228, allocations: 99.89 kB / 1.283 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.228, allocations: 26.27 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/1.228, allocations: 90.05 kB / 1.283 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.228, allocations: 10.73 kB / 1.283 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/1.228, allocations: 19.34 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.228, allocations: 312.6 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.393e-05/1.228, allocations: 13.62 kB / 1.283 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/1.228, allocations: 18.2 kB / 1.283 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/1.229, allocations: 36.94 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.229, allocations: 1.125 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001179/1.229, allocations: 59.67 kB / 1.283 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/1.229, allocations: 11.09 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.229, allocations: 1.906 kB / 1.283 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/1.229, allocations: 4.031 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.287e-05/1.229, allocations: 9.078 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/1.229, allocations: 1.188 kB / 1.283 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/1.229, allocations: 9.234 kB / 1.283 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/1.229, allocations: 1.719 kB / 1.283 GB, free: 8.281 MB / 0.9981 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.646e-05/1.229, allocations: 117.6 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/1.229, allocations: 1.531 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/1.229, allocations: 65.91 kB / 1.283 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.229, allocations: 4 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.229, allocations: 2.078 kB / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.229, allocations: 0 / 1.283 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/1.229, allocations: 158.4 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/1.229, allocations: 0.5156 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/1.229, allocations: 6.766 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.229, allocations: 0.6562 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.229, allocations: 1.25 kB / 1.284 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.229, allocations: 4.828 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.229, allocations: 1.562 kB / 1.284 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/1.229, allocations: 154.4 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/1.229, allocations: 83.16 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.23, allocations: 2.203 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/1.23, allocations: 0 / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/1.23, allocations: 2.547 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/1.23, allocations: 1.531 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.503e-05/1.23, allocations: 83.7 kB / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.23, allocations: 0 / 1.284 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000273/1.23, allocations: 21.42 kB / 1.284 GB, free: 7.566 MB / 0.9981 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.0005804/1.23, allocations: 0.6987 MB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001264/1.231, allocations: 29.39 kB / 1.285 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.231, allocations: 0 / 1.285 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/1.231, allocations: 17.17 kB / 1.285 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/1.231, allocations: 2.172 kB / 1.285 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/1.231, allocations: 166.9 kB / 1.285 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.232, allocations: 0.6758 MB / 1.285 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.346e-05/1.232, allocations: 3.531 kB / 1.285 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/1.232, allocations: 14.89 kB / 1.286 GB, free: 6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.232, allocations: 0 / 1.286 GB, free: 6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/1.25, allocations: 1.466 MB / 1.287 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.891, allocations: 7.844 kB / 1.287 GB, free: 5.617 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.39401344995713]