Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.001129/0.001129, 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.001055/0.001055, 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.9338/0.9338, allocations: 230.6 MB / 256 MB, free: 9.609 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.876/1.876, allocations: 0.5056 GB / 0.8107 GB, free: 1.305 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.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009006/0.0009006, allocations: 67.89 kB / 1.178 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.743/0.7439, allocations: 180.5 MB / 1.354 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001956/0.7459, allocations: 1.42 MB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.747, allocations: 0.9965 MB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.7471, allocations: 0 / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.7471, allocations: 3.938 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.7472, allocations: 27.84 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.7478, allocations: 242.9 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.853e-05/0.7479, allocations: 67.66 kB / 1.357 GB, free: 12.23 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.748, allocations: 7.984 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.748, allocations: 27.92 kB / 1.357 GB, free: 12.19 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.668e-05/0.7481, allocations: 35.83 kB / 1.357 GB, free: 12.16 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.7481, allocations: 4 kB / 1.357 GB, free: 12.15 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.7485, allocations: 407.4 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.7485, allocations: 15.91 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.7486, allocations: 23.86 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.7489, allocations: 309.2 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7489, allocations: 8 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7489, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.7489, allocations: 0 / 1.358 GB, free: 11.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000497/0.7494, allocations: 377.1 kB / 1.358 GB, free: 11.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.7495, allocations: 8.031 kB / 1.358 GB, free: 11 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.7495, allocations: 34.69 kB / 1.358 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.7498, allocations: 64.8 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.75, allocations: 126.4 kB / 1.358 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.75, allocations: 4.375 kB / 1.358 GB, free: 10.74 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.75, allocations: 4.375 kB / 1.358 GB, free: 10.74 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.7501, allocations: 65.58 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7501, allocations: 0 / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.7501, allocations: 0 / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7502, allocations: 0 / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.7503, allocations: 51.95 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.7504, allocations: 144.7 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.7507, allocations: 90.48 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.7507, allocations: 28.88 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.7507, allocations: 7.922 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7508, allocations: 34.56 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.7508, allocations: 4 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0004461/0.7512, allocations: 113.5 kB / 1.359 GB, free: 10.13 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7512, allocations: 55.41 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7513, allocations: 151.5 kB / 1.359 GB, free: 9.91 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.7514, allocations: 25.7 kB / 1.359 GB, free: 9.879 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.7514, allocations: 100.1 kB / 1.359 GB, free: 9.777 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.7514, allocations: 11.91 kB / 1.359 GB, free: 9.766 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7515, allocations: 29.7 kB / 1.359 GB, free: 9.73 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.7515, allocations: 326.8 kB / 1.36 GB, free: 9.402 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-05/0.7516, allocations: 47.97 kB / 1.36 GB, free: 9.355 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.7517, allocations: 51.95 kB / 1.36 GB, free: 9.305 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.7519, allocations: 94.67 kB / 1.36 GB, free: 9.211 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7519, allocations: 0 / 1.36 GB, free: 9.211 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002063/0.7521, allocations: 151.4 kB / 1.36 GB, free: 9.059 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.7521, allocations: 12 kB / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7521, allocations: 0 / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7521, allocations: 0 / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7522, allocations: 23.97 kB / 1.36 GB, free: 9.023 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.7522, allocations: 0 / 1.36 GB, free: 9.023 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.7523, allocations: 15.89 kB / 1.36 GB, free: 9.008 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.7523, allocations: 4 kB / 1.36 GB, free: 9.004 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.49e-05/0.7524, allocations: 111.4 kB / 1.36 GB, free: 8.887 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.7524, allocations: 11.89 kB / 1.36 GB, free: 8.875 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.7525, allocations: 12.34 kB / 1.36 GB, free: 8.855 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.7525, allocations: 4 kB / 1.36 GB, free: 8.852 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7525, allocations: 0 / 1.36 GB, free: 8.852 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7525, allocations: 4 kB / 1.36 GB, free: 8.848 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.7526, allocations: 140.7 kB / 1.36 GB, free: 8.668 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7526, allocations: 0 / 1.36 GB, free: 8.668 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.7526, allocations: 23.86 kB / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7526, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.7526, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7526, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7526, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.7528, allocations: 121 kB / 1.36 GB, free: 8.508 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.7528, allocations: 7.953 kB / 1.36 GB, free: 8.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.7529, allocations: 0 / 1.36 GB, free: 8.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.7529, allocations: 15.92 kB / 1.36 GB, free: 8.484 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.7529, allocations: 0 / 1.36 GB, free: 8.484 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.7529, allocations: 4 kB / 1.36 GB, free: 8.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.753, allocations: 108.8 kB / 1.361 GB, free: 8.375 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.753, allocations: 4 kB / 1.361 GB, free: 8.371 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001585/0.7531, allocations: 27.94 kB / 1.361 GB, free: 8.344 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 (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.0004114/0.7535, allocations: 0.6631 MB / 1.361 GB, free: 7.652 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.7538, allocations: 109.6 kB / 1.361 GB, free: 7.539 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7538, allocations: 0 / 1.361 GB, free: 7.539 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.7538, allocations: 31.91 kB / 1.361 GB, free: 7.508 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.7541, allocations: 18.02 kB / 1.361 GB, free: 7.492 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.7558, allocations: 1.574 MB / 1.363 GB, free: 5.844 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.7559, allocations: 79.45 kB / 1.363 GB, free: 5.746 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 6.587e-05/0.7559, allocations: 8 kB / 1.363 GB, free: 5.738 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.756, allocations: 23.42 kB / 1.363 GB, free: 5.715 MB / 1.042 GB Notification: Performance of SimCode: time 1.723e-06/0.756, allocations: 0 / 1.363 GB, free: 5.715 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.7752, allocations: 3.697 MB / 1.367 GB, free: 2.176 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.197/6.972, allocations: 17.66 kB / 1.367 GB, free: 2.164 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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_PowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.391875016503036]