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.0007992/0.0007992, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008034/0.0008034, allocations: 213.7 kB / 22.25 MB, free: 3.566 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.8929/0.8929, allocations: 230.6 MB / 256 MB, free: 9.598 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.857/1.857, allocations: 0.5056 GB / 0.8107 GB, free: 1.301 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.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 0.0009321/0.0009321, allocations: 71.88 kB / 1.178 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7351, allocations: 180.5 MB / 1.354 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002016/0.7371, allocations: 1.35 MB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.7381, allocations: 0.8401 MB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.7381, allocations: 0 / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.7381, allocations: 7.922 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.7382, allocations: 15.92 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.7388, allocations: 203 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.197e-05/0.7389, allocations: 47.66 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.7389, allocations: 4 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.523e-05/0.739, allocations: 19.94 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.739, allocations: 19.91 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.739, allocations: 0 / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.7394, allocations: 371.5 kB / 1.357 GB, free: 12.07 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.7395, allocations: 7.969 kB / 1.357 GB, free: 12.07 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.7395, allocations: 19.88 kB / 1.357 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.7398, allocations: 249.7 kB / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7398, allocations: 3.984 kB / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7398, allocations: 0 / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.7398, allocations: 7.938 kB / 1.357 GB, free: 11.79 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003869/0.7402, allocations: 337.4 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7402, allocations: 12.03 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.7402, allocations: 38.69 kB / 1.358 GB, free: 11.37 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.7404, allocations: 20.91 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.7407, allocations: 118.4 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.7407, allocations: 384 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.7407, allocations: 384 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.7408, allocations: 46.23 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7408, allocations: 3.938 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.7408, allocations: 0 / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.7408, allocations: 4 kB / 1.358 GB, free: 11.15 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.7409, allocations: 15.98 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.741, allocations: 132.8 kB / 1.358 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.58e-05/0.7411, allocations: 46.48 kB / 1.358 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.7411, allocations: 16.91 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7412, allocations: 0 / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.7412, allocations: 34.56 kB / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 7.02e-07/0.7412, allocations: 0 / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.7414, allocations: 77.5 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.7414, allocations: 55.41 kB / 1.358 GB, free: 10.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.7415, allocations: 124.4 kB / 1.358 GB, free: 10.57 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.7415, allocations: 25.7 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.7415, allocations: 92.08 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.7415, allocations: 3.938 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.7416, allocations: 25.7 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.7416, allocations: 322.8 kB / 1.359 GB, free: 10.08 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.7417, allocations: 16 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.7417, allocations: 28.05 kB / 1.359 GB, free: 10.04 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.982e-05/0.7418, allocations: 48.77 kB / 1.359 GB, free: 9.988 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7418, allocations: 3.938 kB / 1.359 GB, free: 9.984 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001254/0.7419, allocations: 89.56 kB / 1.359 GB, free: 9.891 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7419, allocations: 11.94 kB / 1.359 GB, free: 9.879 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.742, allocations: 0 / 1.359 GB, free: 9.879 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.742, allocations: 0 / 1.359 GB, free: 9.879 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.7424, allocations: 91.88 kB / 1.359 GB, free: 9.789 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.7436, allocations: 1.392 MB / 1.361 GB, free: 8.281 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.7436, allocations: 11.92 kB / 1.361 GB, free: 8.27 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.7436, allocations: 0 / 1.361 GB, free: 8.27 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 (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 7.034e-05/0.7437, allocations: 119.3 kB / 1.361 GB, free: 8.145 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-06/0.7437, allocations: 3.953 kB / 1.361 GB, free: 8.141 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-06/0.7437, allocations: 7.625 kB / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.7437, allocations: 96 / 1.361 GB, free: 8.137 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-07/0.7437, allocations: 4 kB / 1.361 GB, free: 8.133 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7437, allocations: 3.984 kB / 1.361 GB, free: 8.129 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.7438, allocations: 136.7 kB / 1.361 GB, free: 7.953 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7438, allocations: 0 / 1.361 GB, free: 7.953 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.7442, allocations: 107.8 kB / 1.361 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7442, allocations: 0 / 1.361 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7442, allocations: 0 / 1.361 GB, free: 7.848 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009634/0.7452, allocations: 1.399 MB / 1.362 GB, free: 6.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7452, allocations: 0 / 1.362 GB, free: 6.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.754e-05/0.7453, allocations: 77.14 kB / 1.362 GB, free: 6.246 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.7453, allocations: 15.89 kB / 1.362 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-06/0.7453, allocations: 0 / 1.362 GB, free: 6.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.7453, allocations: 4 kB / 1.362 GB, free: 6.227 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.7453, allocations: 8.109 kB / 1.362 GB, free: 6.219 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.7453, allocations: 3.938 kB / 1.362 GB, free: 6.215 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.7454, allocations: 95.27 kB / 1.363 GB, free: 6.121 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7454, allocations: 0 / 1.363 GB, free: 6.121 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001765/0.7455, allocations: 20 kB / 1.363 GB, free: 6.102 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 (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.0003528/0.7459, allocations: 0.6279 MB / 1.363 GB, free: 5.441 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.7464, allocations: 153.6 kB / 1.363 GB, free: 5.285 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7464, allocations: 3.938 kB / 1.363 GB, free: 5.281 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004569/0.7469, allocations: 123.8 kB / 1.363 GB, free: 5.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7471, allocations: 10.06 kB / 1.363 GB, free: 5.152 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009452/0.7481, allocations: 1.294 MB / 1.365 GB, free: 3.781 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.7482, allocations: 63.34 kB / 1.365 GB, free: 3.699 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.7482, allocations: 3.859 kB / 1.365 GB, free: 3.695 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.7483, allocations: 15.44 kB / 1.365 GB, free: 3.68 MB / 1.042 GB Notification: Performance of SimCode: time 6.11e-07/0.7483, allocations: 0 / 1.365 GB, free: 3.68 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.7652, allocations: 2.929 MB / 1.368 GB, free: 0.8984 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.733, allocations: 4 kB / 1.368 GB, free: 0.8984 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.006036627106369]