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.0007699/0.0007699, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007895/0.0007895, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8399/0.8399, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.752/1.752, allocations: 390.1 MB / 0.6341 GB, free: 11.62 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.422e-06/1.422e-06, allocations: 0 / 1.002 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.048e-05, allocations: 2.281 kB / 1.002 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001443/0.001454, allocations: 1.359 MB / 1.003 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.002428, allocations: 0.845 MB / 1.004 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.002466, allocations: 0 / 1.004 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.002481, allocations: 0 / 1.004 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.00255, allocations: 11.86 kB / 1.004 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.002955, allocations: 211 kB / 1.004 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.003031, allocations: 39.8 kB / 1.004 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.00307, allocations: 3.984 kB / 1.004 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.003116, allocations: 23.91 kB / 1.004 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.003153, allocations: 15.92 kB / 1.004 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.003165, allocations: 4 kB / 1.004 GB, free: 7.805 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.003527, allocations: 375.3 kB / 1.004 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.003543, allocations: 19.92 kB / 1.004 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.877e-05/0.003562, allocations: 7.984 kB / 1.004 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.003844, allocations: 287.2 kB / 1.005 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.003848, allocations: 7.984 kB / 1.005 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003848, allocations: 0 / 1.005 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.003852, allocations: 0 / 1.005 GB, free: 7.121 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.0003377/0.00419, allocations: 337.4 kB / 1.005 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.004229, allocations: 12.03 kB / 1.005 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.004258, allocations: 30.75 kB / 1.005 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.004434, allocations: 24.91 kB / 1.005 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.00454, allocations: 117.6 kB / 1.005 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.004555, allocations: 384 / 1.005 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.004566, allocations: 8.312 kB / 1.005 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.767e-05/0.004663, allocations: 42.23 kB / 1.005 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.00467, allocations: 192 / 1.005 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.004678, allocations: 384 / 1.005 GB, free: 6.488 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004683, allocations: 4.125 kB / 1.005 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.693e-05/0.00474, allocations: 19.98 kB / 1.005 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.00485, allocations: 132.8 kB / 1.005 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.004936, allocations: 50.48 kB / 1.005 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.004967, allocations: 8.922 kB / 1.005 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.004981, allocations: 3.984 kB / 1.005 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.004998, allocations: 34.56 kB / 1.005 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.004999, allocations: 0 / 1.005 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.00517, allocations: 65.62 kB / 1.005 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.005194, allocations: 59.34 kB / 1.006 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.005263, allocations: 130.1 kB / 1.006 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005274, allocations: 29.7 kB / 1.006 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.005305, allocations: 84.12 kB / 1.006 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.005318, allocations: 3.953 kB / 1.006 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.005352, allocations: 29.64 kB / 1.006 GB, free: 5.734 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.005431, allocations: 318.8 kB / 1.006 GB, free: 5.414 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.005476, allocations: 19.98 kB / 1.006 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.00551, allocations: 19.98 kB / 1.006 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.00559, allocations: 56.81 kB / 1.006 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005592, allocations: 0 / 1.006 GB, free: 5.316 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00011/0.005702, allocations: 93.56 kB / 1.006 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.005715, allocations: 8 kB / 1.006 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.005729, allocations: 3.938 kB / 1.006 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.005742, allocations: 0 / 1.006 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.006159, allocations: 83.81 kB / 1.006 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.00725, allocations: 1.391 MB / 1.008 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.007276, allocations: 19.97 kB / 1.008 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007284, allocations: 0 / 1.008 GB, free: 3.598 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.327e-05/0.007347, allocations: 114.3 kB / 1.008 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.007353, allocations: 3.953 kB / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.847e-06/0.007362, allocations: 15.56 kB / 1.008 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-07/0.007363, allocations: 96 / 1.008 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.007364, allocations: 0 / 1.008 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.007368, allocations: 7.969 kB / 1.008 GB, free: 3.449 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.977e-05/0.007428, allocations: 132.7 kB / 1.008 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007429, allocations: 4 kB / 1.008 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.007844, allocations: 99.86 kB / 1.008 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007846, allocations: 0 / 1.008 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.007853, allocations: 0 / 1.008 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009335/0.008787, allocations: 1.403 MB / 1.009 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008788, allocations: 0 / 1.009 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.008877, allocations: 77.11 kB / 1.01 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.008884, allocations: 7.953 kB / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-06/0.008888, allocations: 0 / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.008907, allocations: 3.938 kB / 1.01 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.008931, allocations: 7.984 kB / 1.01 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.008936, allocations: 4 kB / 1.01 GB, free: 1.547 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.106e-05/0.008977, allocations: 98.52 kB / 1.01 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008977, allocations: 3.938 kB / 1.01 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001648/0.009141, allocations: 32.03 kB / 1.01 GB, free: 1.418 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.0005986/0.00974, allocations: 0.624 MB / 1.01 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.01027, allocations: 153.6 kB / 1.01 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01028, allocations: 0 / 1.01 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004367/0.01071, allocations: 127.8 kB / 1.011 GB, free: 496 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01087, allocations: 11.94 kB / 1.011 GB, free: 484 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000907/0.01178, allocations: 1.266 MB / 1.012 GB, free: 15.12 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.01182, allocations: 67.2 kB / 1.012 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.838e-05/0.01184, allocations: 4.062 kB / 1.012 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.01187, allocations: 24.36 kB / 1.012 GB, free: 15 MB / 0.9323 GB Notification: Performance of SimCode: time 5.01e-07/0.01187, allocations: 0 / 1.012 GB, free: 15 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.0258, allocations: 3.063 MB / 1.015 GB, free: 12.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.094/7.12, allocations: 13 kB / 1.015 GB, free: 12.09 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.455533851869404]