Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.006834/0.006834, allocations: 98.02 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437.1 MB / 0.7106 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 67.89 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/0.6141, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002029/0.6162, allocations: 1.251 MB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008756/0.617, allocations: 0.6017 MB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.6171, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.6171, allocations: 0 / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.23e-05/0.6171, allocations: 4 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.6176, allocations: 136.5 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.6176, allocations: 19.91 kB / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.067e-05/0.6177, allocations: 0 / 1.168 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.6177, allocations: 8 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.6177, allocations: 3.938 kB / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.6177, allocations: 0 / 1.168 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.6182, allocations: 347.3 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-06/0.6182, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.369e-05/0.6183, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.6185, allocations: 147.2 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.6185, allocations: 4 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6185, allocations: 0 / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6185, allocations: 4 kB / 1.169 GB, free: 1.262 MB / 0.8887 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.0003453/0.6189, allocations: 359.1 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.6189, allocations: 8.922 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.6189, allocations: 34.75 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.666e-05/0.619, allocations: 0.9375 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6191, allocations: 164.4 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-06/0.6191, allocations: 384 / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-06/0.6191, allocations: 4.375 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.094e-05/0.6192, allocations: 34.25 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6192, allocations: 3.938 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.6192, allocations: 0 / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.6192, allocations: 0 / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.6192, allocations: 11.94 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.6194, allocations: 149.7 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.6194, allocations: 22.58 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.6195, allocations: 12.8 kB / 1.169 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.6195, allocations: 4.062 kB / 1.169 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.6195, allocations: 30.56 kB / 1.169 GB, free: 272 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6195, allocations: 3.938 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001152/0.6196, allocations: 49.56 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.6197, allocations: 51.41 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.6197, allocations: 97.98 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6198, allocations: 25.7 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.6198, allocations: 84.14 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.6198, allocations: 7.953 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.6199, allocations: 9.719 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.62, allocations: 318.8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.62, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.62, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.6201, allocations: 13.05 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.6201, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.103e-05/0.6201, allocations: 45.59 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6202, allocations: 11.92 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.6202, allocations: 0 / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6202, allocations: 4 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.6203, allocations: 4 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003504/0.6207, allocations: 0.5861 MB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.6207, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.6207, allocations: 3.984 kB / 1.171 GB, free: 14.87 MB / 0.9044 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 6.833e-05/0.6208, allocations: 113.7 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.6208, allocations: 4 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.218e-05/0.6209, allocations: 48.81 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6209, allocations: 4.109 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.6209, allocations: 4 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.6209, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.621, allocations: 153.6 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.621, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.6211, allocations: 11.98 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.6211, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.6211, allocations: 0 / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003228/0.6214, allocations: 0.5937 MB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6214, allocations: 7.875 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.749e-05/0.6215, allocations: 65.16 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.6216, allocations: 77.11 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.6216, allocations: 4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.253e-05/0.6216, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.6216, allocations: 7.922 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.6216, allocations: 4.125 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.6217, allocations: 79.28 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.893e-06/0.6217, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001838/0.6218, allocations: 19.81 kB / 1.172 GB, free: 13.55 MB / 0.9044 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.0003793/0.6222, allocations: 0.6048 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.6224, allocations: 23.98 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6224, allocations: 0 / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.6225, allocations: 15.92 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.6226, allocations: 9.062 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.623, allocations: 123.6 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6232, allocations: 0.6808 MB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.6232, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.6233, allocations: 7.438 kB / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.6233, allocations: 0 / 1.173 GB, free: 12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8572/1.48, allocations: 1.368 MB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/18.42, allocations: 15.38 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches