Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.0007938/0.0007938, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0008482/0.0008482, allocations: 212.1 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.887/0.887, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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 1.838/1.838, allocations: 0.5056 GB / 0.8107 GB, free: 1.309 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.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.InvertingPowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008964/0.0008964, allocations: 71.89 kB / 1.178 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7132, allocations: 180.5 MB / 1.354 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001916/0.7151, allocations: 1.361 MB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.716, allocations: 0.8401 MB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.716, allocations: 0 / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.7161, allocations: 3.984 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.614e-05/0.7161, allocations: 7.875 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.7167, allocations: 211 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.7168, allocations: 47.77 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.7168, allocations: 0 / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.7169, allocations: 15.94 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.7169, allocations: 19.86 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.7169, allocations: 0 / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.7173, allocations: 383.5 kB / 1.357 GB, free: 12.13 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.7173, allocations: 3.984 kB / 1.357 GB, free: 12.13 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.7174, allocations: 19.88 kB / 1.357 GB, free: 12.11 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.7177, allocations: 257.7 kB / 1.357 GB, free: 11.86 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7177, allocations: 0 / 1.357 GB, free: 11.86 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.552e-06/0.7177, allocations: 0 / 1.357 GB, free: 11.86 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.7177, allocations: 0 / 1.357 GB, free: 11.86 MB / 1.042 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.0003559/0.718, allocations: 341.3 kB / 1.358 GB, free: 11.49 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.7181, allocations: 8.031 kB / 1.358 GB, free: 11.48 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.7181, allocations: 30.75 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.7182, allocations: 24.91 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7183, allocations: 122.4 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.7184, allocations: 384 / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.7184, allocations: 8.312 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.838e-05/0.7185, allocations: 46.22 kB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7185, allocations: 7.938 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-06/0.7185, allocations: 0 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7185, allocations: 0 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.752e-05/0.7185, allocations: 15.98 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.7187, allocations: 140.8 kB / 1.358 GB, free: 11.02 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.7188, allocations: 34.56 kB / 1.358 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.7188, allocations: 24.84 kB / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.7188, allocations: 0 / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.7188, allocations: 30.56 kB / 1.358 GB, free: 10.91 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.7188, allocations: 0 / 1.358 GB, free: 10.91 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.719, allocations: 69.56 kB / 1.358 GB, free: 10.83 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.719, allocations: 55.41 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.462e-05/0.7191, allocations: 128.7 kB / 1.358 GB, free: 10.63 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7191, allocations: 25.7 kB / 1.359 GB, free: 10.6 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.7192, allocations: 92.09 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.7192, allocations: 3.938 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.7192, allocations: 25.7 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.54e-05/0.7193, allocations: 314.8 kB / 1.359 GB, free: 10.15 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.01e-05/0.7193, allocations: 23.94 kB / 1.359 GB, free: 10.13 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.7194, allocations: 23.98 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.303e-05/0.7194, allocations: 52.7 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7194, allocations: 4 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001115/0.7196, allocations: 85.62 kB / 1.359 GB, free: 9.957 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7196, allocations: 11.88 kB / 1.359 GB, free: 9.945 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.7196, allocations: 8 kB / 1.359 GB, free: 9.938 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.7196, allocations: 0 / 1.359 GB, free: 9.938 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.72, allocations: 79.88 kB / 1.359 GB, free: 9.859 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.7211, allocations: 1.4 MB / 1.361 GB, free: 8.344 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.7212, allocations: 7.891 kB / 1.361 GB, free: 8.336 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.7212, allocations: 4.031 kB / 1.361 GB, free: 8.332 MB / 1.042 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.538e-05/0.7212, allocations: 111.3 kB / 1.361 GB, free: 8.215 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.7213, allocations: 7.953 kB / 1.361 GB, free: 8.207 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.168e-05/0.7213, allocations: 7.625 kB / 1.361 GB, free: 8.203 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.7213, allocations: 0 / 1.361 GB, free: 8.203 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7213, allocations: 3.984 kB / 1.361 GB, free: 8.199 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7213, allocations: 3.938 kB / 1.361 GB, free: 8.195 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.411e-05/0.7213, allocations: 132.7 kB / 1.361 GB, free: 8.023 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7213, allocations: 4.062 kB / 1.361 GB, free: 8.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.7218, allocations: 95.86 kB / 1.361 GB, free: 7.926 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7218, allocations: 4 kB / 1.361 GB, free: 7.922 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.7218, allocations: 8 kB / 1.361 GB, free: 7.914 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009569/0.7227, allocations: 1.399 MB / 1.362 GB, free: 6.406 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7227, allocations: 4 kB / 1.362 GB, free: 6.402 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.898e-05/0.7228, allocations: 85.03 kB / 1.362 GB, free: 6.301 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.7228, allocations: 3.938 kB / 1.362 GB, free: 6.297 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-06/0.7228, allocations: 4 kB / 1.362 GB, free: 6.293 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.7229, allocations: 4 kB / 1.362 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.7229, allocations: 3.984 kB / 1.362 GB, free: 6.285 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.7229, allocations: 0 / 1.362 GB, free: 6.285 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.7229, allocations: 95.27 kB / 1.363 GB, free: 6.191 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7229, allocations: 4.094 kB / 1.363 GB, free: 6.188 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001635/0.7231, allocations: 20 kB / 1.363 GB, free: 6.168 MB / 1.042 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.0003195/0.7234, allocations: 0.6357 MB / 1.363 GB, free: 5.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.7239, allocations: 157.6 kB / 1.363 GB, free: 5.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7239, allocations: 0 / 1.363 GB, free: 5.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.7244, allocations: 115.8 kB / 1.363 GB, free: 5.227 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.7246, allocations: 7.75 kB / 1.363 GB, free: 5.223 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.7255, allocations: 1.296 MB / 1.365 GB, free: 3.848 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.7256, allocations: 67.41 kB / 1.365 GB, free: 3.762 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.7256, allocations: 3.859 kB / 1.365 GB, free: 3.758 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.7256, allocations: 15.44 kB / 1.365 GB, free: 3.742 MB / 1.042 GB Notification: Performance of SimCode: time 8.51e-07/0.7256, allocations: 0 / 1.365 GB, free: 3.742 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/0.7401, allocations: 2.924 MB / 1.368 GB, free: 0.9688 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.987/7.727, allocations: 4.125 kB / 1.368 GB, free: 0.9688 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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: 11.976542986929417]