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.0008737/0.0008737, 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.0009003/0.0009003, 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.8722/0.8722, 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.716/1.716, allocations: 390.1 MB / 0.6341 GB, free: 11.61 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.493e-06/1.493e-06, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.122e-05, allocations: 5.375 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001657/0.001679, allocations: 1.352 MB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.002504, allocations: 0.8489 MB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.002542, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.002561, allocations: 3.938 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.002634, allocations: 3.938 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.003176, allocations: 222.8 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.003252, allocations: 39.86 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.003289, allocations: 0 / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.315e-05/0.003332, allocations: 23.92 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.036e-05/0.003373, allocations: 15.92 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.003385, allocations: 4 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.003781, allocations: 371.4 kB / 1.004 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.003798, allocations: 15.92 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.00382, allocations: 4 kB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.004145, allocations: 307.1 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.004148, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004149, allocations: 0 / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.004153, allocations: 0 / 1.005 GB, free: 8.25 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.0003587/0.004512, allocations: 337.4 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.004551, allocations: 15.97 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.00458, allocations: 38.69 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.004749, allocations: 20.91 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.349e-05/0.004842, allocations: 109.8 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004855, allocations: 384 / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.004865, allocations: 384 / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.004967, allocations: 46.23 kB / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004974, allocations: 192 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.004981, allocations: 384 / 1.005 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.004987, allocations: 8.125 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.687e-05/0.005044, allocations: 19.98 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.005168, allocations: 140.7 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.005255, allocations: 42.5 kB / 1.005 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.005287, allocations: 12.91 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.005299, allocations: 4 kB / 1.005 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.005313, allocations: 30.56 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.005315, allocations: 3.984 kB / 1.005 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001855/0.0055, allocations: 73.62 kB / 1.005 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.005529, allocations: 59.28 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.005603, allocations: 125.4 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005614, allocations: 25.7 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.005644, allocations: 88.09 kB / 1.006 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.005658, allocations: 7.953 kB / 1.006 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.005691, allocations: 25.7 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.005898, allocations: 318.8 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.005958, allocations: 23.98 kB / 1.006 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.005992, allocations: 16 kB / 1.006 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.006074, allocations: 60.89 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006076, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001139/0.00619, allocations: 85.55 kB / 1.006 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.006202, allocations: 8 kB / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.006216, allocations: 0 / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.006227, allocations: 0 / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.006636, allocations: 87.81 kB / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.007751, allocations: 1.388 MB / 1.008 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.00778, allocations: 15.86 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007788, allocations: 4 kB / 1.008 GB, free: 4.734 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.143e-05/0.00785, allocations: 118.2 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.007857, allocations: 7.953 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.007868, allocations: 11.61 kB / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.007869, allocations: 0 / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.00787, allocations: 0 / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.007872, allocations: 4.094 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.423e-05/0.007936, allocations: 132.7 kB / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.007938, allocations: 0 / 1.008 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.00836, allocations: 103.9 kB / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008362, allocations: 0 / 1.008 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.008369, allocations: 4 kB / 1.008 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009444/0.009314, allocations: 1.403 MB / 1.009 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009315, allocations: 0 / 1.009 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.009404, allocations: 89.08 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-06/0.009407, allocations: 0 / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-06/0.009413, allocations: 3.938 kB / 1.01 GB, free: 2.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.858e-05/0.009431, allocations: 7.938 kB / 1.01 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.009452, allocations: 3.984 kB / 1.01 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.009456, allocations: 128 / 1.01 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.009493, allocations: 103.2 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009493, allocations: 0 / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001698/0.009663, allocations: 27.94 kB / 1.01 GB, free: 2.547 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.0003459/0.01001, allocations: 0.628 MB / 1.01 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000502/0.01051, allocations: 149.6 kB / 1.01 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01051, allocations: 0 / 1.01 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.01095, allocations: 123.8 kB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01116, allocations: 11.94 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.01209, allocations: 1.274 MB / 1.012 GB, free: 252 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.01212, allocations: 67.41 kB / 1.012 GB, free: 164 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.023e-05/0.01214, allocations: 0 / 1.012 GB, free: 164 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.01217, allocations: 20.48 kB / 1.012 GB, free: 144 kB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/0.01217, allocations: 0 / 1.012 GB, free: 144 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.0262, allocations: 3.07 MB / 1.015 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.192, allocations: 6.438 kB / 1.015 GB, free: 13.24 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.142329655587673]