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.0009327/0.0009327, allocations: 76.25 kB / 19.27 MB, free: 0.5859 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.001013/0.001013, allocations: 166 kB / 22.58 MB, free: 1.922 MB / 18.57 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.8802/0.8802, allocations: 177.1 MB / 202.9 MB, free: 5.664 MB / 186.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.76/1.76, allocations: 390.1 MB / 0.6342 GB, free: 11.56 MB / 0.6042 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 1.453e-06/1.453e-06, allocations: 3.938 kB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.959e-05, allocations: 2.312 kB / 1.002 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001701/0.00172, allocations: 1.36 MB / 1.003 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.002611, allocations: 0.8412 MB / 1.004 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.002648, allocations: 0 / 1.004 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.002666, allocations: 3.938 kB / 1.004 GB, free: 7.992 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.002736, allocations: 7.922 kB / 1.004 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.003253, allocations: 222.8 kB / 1.004 GB, free: 7.766 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.003319, allocations: 39.78 kB / 1.004 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.003359, allocations: 4 kB / 1.004 GB, free: 7.723 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.003397, allocations: 19.98 kB / 1.004 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.003436, allocations: 15.92 kB / 1.004 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.003446, allocations: 0 / 1.004 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.00381, allocations: 375.4 kB / 1.005 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.003825, allocations: 4 kB / 1.005 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.003845, allocations: 15.92 kB / 1.005 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.004124, allocations: 295.1 kB / 1.005 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004126, allocations: 0 / 1.005 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.71e-07/0.004126, allocations: 0 / 1.005 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.00413, allocations: 0 / 1.005 GB, free: 7.012 MB / 0.9167 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.0003292/0.004459, allocations: 345.3 kB / 1.005 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.004496, allocations: 12.03 kB / 1.005 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.746e-05/0.004523, allocations: 34.75 kB / 1.005 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.00468, allocations: 16.91 kB / 1.005 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.004771, allocations: 113.7 kB / 1.005 GB, free: 6.434 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004784, allocations: 4.375 kB / 1.005 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.004794, allocations: 4.375 kB / 1.005 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.039e-05/0.004885, allocations: 42.23 kB / 1.005 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004891, allocations: 192 / 1.005 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.004898, allocations: 384 / 1.005 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.004904, allocations: 8.062 kB / 1.005 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.004965, allocations: 27.97 kB / 1.005 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.005084, allocations: 136.7 kB / 1.006 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.005168, allocations: 38.55 kB / 1.006 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.005204, allocations: 12.92 kB / 1.006 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.005216, allocations: 0 / 1.006 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.005233, allocations: 34.56 kB / 1.006 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 5.01e-07/0.005234, allocations: 0 / 1.006 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002118/0.005446, allocations: 77.55 kB / 1.006 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.005491, allocations: 55.34 kB / 1.006 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.005601, allocations: 120.7 kB / 1.006 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.00562, allocations: 33.7 kB / 1.006 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.005655, allocations: 88.08 kB / 1.006 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.005671, allocations: 3.938 kB / 1.006 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.005711, allocations: 25.7 kB / 1.006 GB, free: 5.621 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.005785, allocations: 318.8 kB / 1.006 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.005872, allocations: 19.98 kB / 1.006 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.005914, allocations: 24.11 kB / 1.006 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.939e-05/0.006004, allocations: 52.72 kB / 1.006 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006006, allocations: 0 / 1.006 GB, free: 5.203 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001327/0.006139, allocations: 85.62 kB / 1.007 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.006152, allocations: 4 kB / 1.007 GB, free: 5.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.006169, allocations: 7.984 kB / 1.007 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.006182, allocations: 0 / 1.007 GB, free: 5.102 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.006633, allocations: 83.83 kB / 1.007 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.007835, allocations: 1.403 MB / 1.008 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.007866, allocations: 7.984 kB / 1.008 GB, free: 3.492 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.007875, allocations: 3.984 kB / 1.008 GB, free: 3.488 MB / 0.9167 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.34e-05/0.007938, allocations: 113.8 kB / 1.008 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-06/0.007946, allocations: 7.891 kB / 1.008 GB, free: 3.359 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.024e-05/0.007956, allocations: 7.625 kB / 1.008 GB, free: 3.352 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007959, allocations: 4 kB / 1.008 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.00796, allocations: 4.094 kB / 1.008 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.007962, allocations: 0 / 1.008 GB, free: 3.344 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.697e-05/0.008029, allocations: 128.7 kB / 1.008 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008031, allocations: 0 / 1.008 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004628/0.008494, allocations: 111.8 kB / 1.008 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008496, allocations: 3.938 kB / 1.008 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.008502, allocations: 0 / 1.008 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.009532, allocations: 1.391 MB / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.009533, allocations: 0 / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.00963, allocations: 89.03 kB / 1.01 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.009641, allocations: 4 kB / 1.01 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-06/0.009647, allocations: 3.984 kB / 1.01 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.009668, allocations: 3.938 kB / 1.01 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.009688, allocations: 8.125 kB / 1.01 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.009692, allocations: 4 kB / 1.01 GB, free: 1.434 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.647e-05/0.009728, allocations: 91.27 kB / 1.01 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009728, allocations: 0 / 1.01 GB, free: 1.344 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000181/0.009909, allocations: 35.92 kB / 1.01 GB, free: 1.309 MB / 0.9167 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.0003628/0.01027, allocations: 0.6279 MB / 1.011 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.01081, allocations: 153.6 kB / 1.011 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01081, allocations: 0 / 1.011 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.01127, allocations: 115.8 kB / 1.011 GB, free: 392 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01146, allocations: 15.92 kB / 1.011 GB, free: 376 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.01246, allocations: 1.288 MB / 1.012 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.0125, allocations: 71.2 kB / 1.012 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.01253, allocations: 0 / 1.012 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.01256, allocations: 12.5 kB / 1.012 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of SimCode: time 9.01e-07/0.01257, allocations: 0 / 1.012 GB, free: 14.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.02743, allocations: 3.1 MB / 1.015 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.215, allocations: 4 kB / 1.015 GB, free: 11.96 MB / 0.9323 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.609996614046395]