Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 497.2 MB / 0.7812 GB, free: 11.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.91 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9672, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001933/0.9691, allocations: 1.261 MB / 1.305 GB, free: 31.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.9699, allocations: 0.586 MB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.9699, allocations: 0 / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.9699, allocations: 0 / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.97, allocations: 3.984 kB / 1.306 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.9704, allocations: 144.3 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.9705, allocations: 14.03 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.9705, allocations: 2.812 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.9705, allocations: 2.938 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.56e-05/0.9706, allocations: 4 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.9706, allocations: 2.938 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.971, allocations: 341.7 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.971, allocations: 7.938 kB / 1.306 GB, free: 30.63 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.971, allocations: 7.156 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.9712, allocations: 141.7 kB / 1.306 GB, free: 30.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.9712, allocations: 3.281 kB / 1.306 GB, free: 30.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9712, allocations: 4 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.9712, allocations: 0 / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003195/0.9716, allocations: 345.8 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.9716, allocations: 11.41 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.396e-05/0.9716, allocations: 30.75 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.289e-05/0.9716, allocations: 4.938 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.237e-05/0.9717, allocations: 170.8 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.9717, allocations: 384 / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.9718, allocations: 4.375 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.9718, allocations: 33.33 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.9718, allocations: 3.938 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.9719, allocations: 0 / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.9719, allocations: 2.938 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.9719, allocations: 6.938 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.972, allocations: 149.1 kB / 1.307 GB, free: 29.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.972, allocations: 24.45 kB / 1.307 GB, free: 29.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.9721, allocations: 15.11 kB / 1.307 GB, free: 29.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.9721, allocations: 0 / 1.307 GB, free: 29.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.9721, allocations: 33.59 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.9721, allocations: 0 / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.9722, allocations: 46.23 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.9722, allocations: 51.41 kB / 1.307 GB, free: 29.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.9723, allocations: 100.5 kB / 1.307 GB, free: 29.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-06/0.9723, allocations: 25.7 kB / 1.307 GB, free: 29.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.9723, allocations: 80.14 kB / 1.308 GB, free: 29.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.9723, allocations: 14.58 kB / 1.308 GB, free: 29.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.9724, allocations: 12.59 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.452e-05/0.9724, allocations: 314.2 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.9724, allocations: 0 / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.9724, allocations: 2.75 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.9724, allocations: 18.36 kB / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9725, allocations: 0 / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.947e-05/0.9725, allocations: 45.58 kB / 1.308 GB, free: 28.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.9725, allocations: 13.47 kB / 1.308 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.9725, allocations: 0 / 1.308 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9725, allocations: 2.688 kB / 1.308 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.9727, allocations: 5.281 kB / 1.308 GB, free: 28.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002486/0.9729, allocations: 0.5907 MB / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.9729, allocations: 0 / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.9729, allocations: 0 / 1.308 GB, free: 28.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.973, allocations: 116.9 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.973, allocations: 3.953 kB / 1.309 GB, free: 28.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/0.9731, allocations: 48.53 kB / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.9731, allocations: 0 / 1.309 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9731, allocations: 6.719 kB / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.9731, allocations: 0 / 1.309 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.987e-05/0.9732, allocations: 155.4 kB / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.9732, allocations: 0 / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.9732, allocations: 11.31 kB / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.9732, allocations: 0 / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.9732, allocations: 0 / 1.309 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001617/0.9734, allocations: 0.5867 MB / 1.309 GB, free: 27.37 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9734, allocations: 8.031 kB / 1.309 GB, free: 27.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.049e-05/0.9735, allocations: 56.77 kB / 1.309 GB, free: 27.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.9735, allocations: 82.97 kB / 1.31 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.9735, allocations: 4 kB / 1.31 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.9735, allocations: 0 / 1.31 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.9735, allocations: 6.469 kB / 1.31 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.9735, allocations: 0 / 1.31 GB, free: 27.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.9735, allocations: 85.94 kB / 1.31 GB, free: 27.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9735, allocations: 0 / 1.31 GB, free: 27.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001988/0.9737, allocations: 12.28 kB / 1.31 GB, free: 27.11 MB / 1.061 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/0.974, allocations: 0.6064 MB / 1.31 GB, free: 26.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.9742, allocations: 25.38 kB / 1.31 GB, free: 26.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9742, allocations: 0 / 1.31 GB, free: 26.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.9742, allocations: 18.72 kB / 1.31 GB, free: 26.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.9744, allocations: 13.17 kB / 1.31 GB, free: 26.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.9748, allocations: 140.5 kB / 1.31 GB, free: 26.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.9749, allocations: 0.6796 MB / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.314e-05/0.9749, allocations: 0 / 1.311 GB, free: 25.64 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.9749, allocations: 7.438 kB / 1.311 GB, free: 25.63 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9749, allocations: 0 / 1.311 GB, free: 25.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/1.003, allocations: 1.395 MB / 1.312 GB, free: 25.28 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.18, allocations: 9.641 kB / 1.312 GB, free: 25.28 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.428648437839]