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.0007863/0.0007863, 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.0008138/0.0008138, 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.9351/0.9351, allocations: 230.6 MB / 256 MB, free: 9.602 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.874/1.874, allocations: 0.5056 GB / 0.8107 GB, free: 1.316 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.0009833/0.0009833, allocations: 63.91 kB / 1.178 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7371, allocations: 180.5 MB / 1.354 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002783/0.7399, allocations: 1.41 MB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.7412, allocations: 1 MB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.7413, allocations: 0 / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.7413, allocations: 3.938 kB / 1.357 GB, free: 12.55 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.7414, allocations: 23.83 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.742, allocations: 245.4 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.7421, allocations: 71.64 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.7422, allocations: 4 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.7422, allocations: 27.92 kB / 1.357 GB, free: 12.19 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.747e-05/0.7423, allocations: 43.81 kB / 1.357 GB, free: 12.14 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.7423, allocations: 4 kB / 1.357 GB, free: 12.14 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004298/0.7428, allocations: 399.5 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.7428, allocations: 19.84 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.7428, allocations: 27.86 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.7432, allocations: 305.2 kB / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7432, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7432, allocations: 0 / 1.358 GB, free: 11.41 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7432, 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.0004771/0.7437, allocations: 385.1 kB / 1.358 GB, free: 11 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.7437, allocations: 12.02 kB / 1.358 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.7437, allocations: 34.75 kB / 1.358 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.7441, allocations: 52.81 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.7442, allocations: 134.4 kB / 1.358 GB, free: 10.74 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.7442, allocations: 4.375 kB / 1.358 GB, free: 10.73 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.7442, allocations: 384 / 1.358 GB, free: 10.73 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.7444, allocations: 65.59 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.7444, allocations: 0 / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.7444, allocations: 3.984 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7444, allocations: 4 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.7447, allocations: 39.95 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.7449, allocations: 148.7 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.7451, allocations: 98.44 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.593e-05/0.7452, allocations: 24.92 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.7452, allocations: 7.938 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.7452, allocations: 30.56 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.7452, allocations: 3.938 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002713/0.7455, allocations: 113.6 kB / 1.359 GB, free: 10.13 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.7455, allocations: 63.28 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.7456, allocations: 152 kB / 1.359 GB, free: 9.898 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.7456, allocations: 25.7 kB / 1.359 GB, free: 9.867 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.7456, allocations: 96.09 kB / 1.359 GB, free: 9.77 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.7457, allocations: 15.89 kB / 1.359 GB, free: 9.754 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.7457, allocations: 29.7 kB / 1.359 GB, free: 9.719 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.7458, allocations: 318.8 kB / 1.36 GB, free: 9.398 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.7459, allocations: 47.97 kB / 1.36 GB, free: 9.352 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.7459, allocations: 47.97 kB / 1.36 GB, free: 9.305 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.7461, allocations: 106.6 kB / 1.36 GB, free: 9.199 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7461, allocations: 0 / 1.36 GB, free: 9.199 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002056/0.7463, allocations: 149.5 kB / 1.36 GB, free: 9.047 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.7463, allocations: 7.938 kB / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.7463, allocations: 0 / 1.36 GB, free: 9.039 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7463, allocations: 4 kB / 1.36 GB, free: 9.035 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.7464, allocations: 19.98 kB / 1.36 GB, free: 9.016 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.7464, allocations: 0 / 1.36 GB, free: 9.016 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.7465, allocations: 15.88 kB / 1.36 GB, free: 9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.7465, allocations: 4 kB / 1.36 GB, free: 8.996 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 6.666e-05/0.7466, allocations: 115.4 kB / 1.36 GB, free: 8.875 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.7466, allocations: 7.891 kB / 1.36 GB, free: 8.867 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.7466, allocations: 12.34 kB / 1.36 GB, free: 8.848 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7466, allocations: 0 / 1.36 GB, free: 8.848 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7466, allocations: 4 kB / 1.36 GB, free: 8.844 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7466, allocations: 3.984 kB / 1.36 GB, free: 8.84 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.343e-05/0.7467, allocations: 144.7 kB / 1.36 GB, free: 8.656 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7467, allocations: 0 / 1.36 GB, free: 8.656 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.7468, allocations: 11.98 kB / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7468, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.7468, allocations: 0 / 1.36 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7468, allocations: 3.938 kB / 1.36 GB, free: 8.641 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7468, allocations: 4 kB / 1.36 GB, free: 8.637 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.747, allocations: 117 kB / 1.36 GB, free: 8.504 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.747, allocations: 7.953 kB / 1.36 GB, free: 8.496 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.747, allocations: 0 / 1.36 GB, free: 8.496 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.981e-05/0.7471, allocations: 7.984 kB / 1.36 GB, free: 8.488 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.7471, allocations: 7.938 kB / 1.36 GB, free: 8.48 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.7471, allocations: 3.984 kB / 1.36 GB, free: 8.477 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.7471, allocations: 113 kB / 1.361 GB, free: 8.367 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7471, allocations: 0 / 1.361 GB, free: 8.367 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001597/0.7473, allocations: 31.88 kB / 1.361 GB, free: 8.336 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.0004638/0.7478, allocations: 0.6633 MB / 1.361 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.748, allocations: 113.7 kB / 1.361 GB, free: 7.527 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.748, allocations: 0 / 1.361 GB, free: 7.527 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.7481, allocations: 31.91 kB / 1.361 GB, free: 7.496 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.7483, allocations: 12.3 kB / 1.361 GB, free: 7.484 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.7497, allocations: 1.577 MB / 1.363 GB, free: 5.832 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.066e-05/0.7498, allocations: 75.09 kB / 1.363 GB, free: 5.738 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.153e-05/0.7498, allocations: 7.984 kB / 1.363 GB, free: 5.73 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.7499, allocations: 23.44 kB / 1.363 GB, free: 5.707 MB / 1.042 GB Notification: Performance of SimCode: time 9.01e-07/0.7499, allocations: 4 kB / 1.363 GB, free: 5.703 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01563/0.7655, allocations: 3.698 MB / 1.367 GB, free: 2.168 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.166/6.931, allocations: 8.672 kB / 1.367 GB, free: 2.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.238658998161554]