Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.0008208/0.0008208, allocations: 81.69 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.000796/0.000796, allocations: 166 kB / 22.58 MB, free: 1.926 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.8872/0.8872, allocations: 177.1 MB / 202.9 MB, free: 5.699 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.763/1.763, allocations: 390.1 MB / 0.6342 GB, free: 11.54 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_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.183e-05, allocations: 2.312 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001768/0.00179, allocations: 1.352 MB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008652/0.002655, allocations: 0.8334 MB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.002691, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.002708, allocations: 8 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.002782, allocations: 15.86 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.00322, allocations: 210.8 kB / 1.004 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.003289, allocations: 47.78 kB / 1.004 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.003331, allocations: 4 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.386e-05/0.003374, allocations: 23.91 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.003416, allocations: 8 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003429, allocations: 0 / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.003798, allocations: 383.4 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.003814, allocations: 3.984 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003837, allocations: 11.94 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.004141, allocations: 295.2 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004144, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004145, allocations: 0 / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.00415, allocations: 4 kB / 1.005 GB, free: 8.117 MB / 0.9636 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.0003922/0.004542, allocations: 341.4 kB / 1.005 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.004588, allocations: 12.02 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.004618, allocations: 34.69 kB / 1.005 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.004796, allocations: 20.92 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.004908, allocations: 117.7 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.004922, allocations: 384 / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.004931, allocations: 4.375 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005034, allocations: 38.25 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005042, allocations: 8.172 kB / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.005049, allocations: 384 / 1.005 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.005056, allocations: 4.125 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.551e-05/0.005121, allocations: 23.97 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.005425, allocations: 136.7 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.3e-05/0.005518, allocations: 38.5 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.005556, allocations: 16.91 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.00557, allocations: 0 / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.005592, allocations: 38.56 kB / 1.006 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.005593, allocations: 3.938 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002005/0.005793, allocations: 65.62 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.005825, allocations: 59.28 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.005903, allocations: 126.1 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.005915, allocations: 25.7 kB / 1.006 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.005953, allocations: 96.06 kB / 1.006 GB, free: 6.754 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.00597, allocations: 7.953 kB / 1.006 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.006002, allocations: 21.72 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.006086, allocations: 315 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.006142, allocations: 27.98 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.76e-05/0.00618, allocations: 23.98 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.00626, allocations: 48.83 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006262, allocations: 0 / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001156/0.006377, allocations: 85.61 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.00639, allocations: 4 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.006406, allocations: 4 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006417, allocations: 3.938 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.006843, allocations: 83.81 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.008007, allocations: 1.395 MB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.008033, allocations: 11.92 kB / 1.008 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.008042, allocations: 0 / 1.008 GB, free: 4.598 MB / 0.9636 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.681e-05/0.008108, allocations: 121.8 kB / 1.008 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-06/0.008115, allocations: 4.078 kB / 1.008 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.008125, allocations: 7.625 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.008126, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008127, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.008131, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.774e-05/0.008198, allocations: 136.7 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.0082, allocations: 0 / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.008639, allocations: 107.9 kB / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.008641, allocations: 0 / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.008648, allocations: 0 / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.00962, allocations: 1.403 MB / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009621, allocations: 0 / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.904e-05/0.00972, allocations: 81.09 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-06/0.009725, allocations: 4 kB / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-06/0.00973, allocations: 160 / 1.01 GB, free: 2.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.00975, allocations: 15.86 kB / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.868e-05/0.009769, allocations: 4 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.009774, allocations: 4 kB / 1.01 GB, free: 2.539 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.009814, allocations: 95.02 kB / 1.01 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009814, allocations: 0 / 1.01 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001726/0.009987, allocations: 27.94 kB / 1.01 GB, free: 2.422 MB / 0.9636 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.0003579/0.01034, allocations: 0.628 MB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005263/0.01087, allocations: 157.5 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01087, allocations: 0 / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.01133, allocations: 111.8 kB / 1.011 GB, free: 1.496 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.01153, allocations: 11.94 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00099/0.01252, allocations: 1.284 MB / 1.012 GB, free: 120 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.01256, allocations: 71.33 kB / 1.012 GB, free: 28 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.01259, allocations: 0 / 1.012 GB, free: 28 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.01262, allocations: 12.59 kB / 1.012 GB, free: 16 kB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01262, allocations: 3.938 kB / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.03106, allocations: 3.103 MB / 1.015 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.139/7.17, allocations: 6.688 kB / 1.015 GB, free: 13.09 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.195736112073064]