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.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.001283/0.001283, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001705/0.001705, allocations: 220 kB / 23.03 MB, free: 4.941 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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.121/3.121, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.002606/0.002606, allocations: 62.23 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3546, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002359/0.3569, allocations: 1.267 MB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.3579, allocations: 0.5181 MB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.3579, allocations: 4 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.3579, allocations: 0 / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.358, allocations: 3.938 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.3585, allocations: 135.4 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.217e-05/0.3585, allocations: 4 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.3585, allocations: 8 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.3586, allocations: 3.938 kB / 1.347 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.3586, allocations: 11.92 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.3586, allocations: 4 kB / 1.347 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004405/0.3591, allocations: 283.4 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3591, allocations: 0 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3591, allocations: 4 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3593, allocations: 139.9 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3593, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3593, allocations: 3.938 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3593, allocations: 0 / 1.348 GB, free: 13.55 MB / 1.045 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.0003909/0.3597, allocations: 278 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3598, allocations: 8.031 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.3598, allocations: 8.188 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.3598, allocations: 34.75 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.3598, allocations: 8.922 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.36, allocations: 106.5 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.36, allocations: 384 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.36, allocations: 384 / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.3601, allocations: 34.02 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3601, allocations: 0 / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.3601, allocations: 0 / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3601, allocations: 0 / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.3601, allocations: 7.938 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3603, allocations: 128.8 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.3603, allocations: 26.55 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.3603, allocations: 8.922 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3604, allocations: 3.984 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3604, allocations: 34.5 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3604, allocations: 0 / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.3605, allocations: 49.62 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3606, allocations: 51.41 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.3607, allocations: 93.98 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3607, allocations: 29.83 kB / 1.348 GB, free: 12.49 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.3607, allocations: 84.14 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.3607, allocations: 7.938 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.3608, allocations: 13.72 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3609, allocations: 310.8 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.3609, allocations: 4 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.3609, allocations: 4 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.361, allocations: 8.859 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.361, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.074e-05/0.361, allocations: 57.64 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.361, allocations: 7.938 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.361, allocations: 0 / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.3611, allocations: 3.938 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3612, allocations: 11.98 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004098/0.3616, allocations: 0.5782 MB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.3616, allocations: 4.031 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.3616, allocations: 0 / 1.35 GB, free: 11.35 MB / 1.045 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 8.119e-05/0.3617, allocations: 109.9 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-06/0.3617, allocations: 7.938 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.3618, allocations: 49 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3618, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3618, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3618, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.764e-05/0.3619, allocations: 128.7 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3619, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.362, allocations: 8 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.362, allocations: 0 / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.362, allocations: 4 kB / 1.35 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003422/0.3623, allocations: 0.5937 MB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3623, allocations: 3.984 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.157e-05/0.3624, allocations: 65.12 kB / 1.35 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.3624, allocations: 0 / 1.35 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3624, allocations: 8 kB / 1.35 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.585e-05/0.3624, allocations: 3.938 kB / 1.35 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.3625, allocations: 3.984 kB / 1.35 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3625, allocations: 0 / 1.35 GB, free: 10.27 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.3625, allocations: 83.41 kB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001948/0.3627, allocations: 11.94 kB / 1.351 GB, free: 10.18 MB / 1.045 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.0004293/0.3631, allocations: 0.6085 MB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.3633, allocations: 19.98 kB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3633, allocations: 0 / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.3634, allocations: 11.94 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3635, allocations: 12.19 kB / 1.351 GB, free: 9.496 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.3639, allocations: 127.8 kB / 1.351 GB, free: 9.328 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.204e-05/0.364, allocations: 63.33 kB / 1.351 GB, free: 9.246 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.364, allocations: 0 / 1.351 GB, free: 9.246 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.364, allocations: 7.438 kB / 1.351 GB, free: 9.238 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.364, allocations: 3.938 kB / 1.351 GB, free: 9.234 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.3857, allocations: 1.468 MB / 1.353 GB, free: 7.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.72, allocations: 7.062 kB / 1.353 GB, free: 7.949 MB / 1.045 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/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.253126363968477]