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.0008054/0.0008054, 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.0008186/0.0008186, allocations: 213.2 kB / 22.25 MB, free: 3.586 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.9304/0.9304, allocations: 230.6 MB / 256 MB, free: 9.621 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.872/1.872, allocations: 0.5056 GB / 0.8107 GB, free: 1.289 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_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 0.0009545/0.0009545, allocations: 67.91 kB / 1.178 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7598, allocations: 180.5 MB / 1.354 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001987/0.7618, allocations: 1.358 MB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009541/0.7627, allocations: 0.8479 MB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.7628, allocations: 0 / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.7628, allocations: 0 / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.7629, allocations: 7.875 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.7635, allocations: 215 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.68e-05/0.7636, allocations: 39.8 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.7636, allocations: 0 / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.7637, allocations: 23.91 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.7637, allocations: 19.86 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.7637, allocations: 0 / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.7642, allocations: 375.5 kB / 1.357 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.7642, allocations: 0 / 1.357 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.7642, allocations: 23.86 kB / 1.357 GB, free: 12.05 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.7645, allocations: 257.7 kB / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7645, allocations: 0 / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7645, allocations: 3.938 kB / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.7646, allocations: 0 / 1.357 GB, free: 11.8 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.0006077/0.7652, allocations: 341.3 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7652, allocations: 12.03 kB / 1.358 GB, free: 11.42 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.7652, allocations: 30.75 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.7654, allocations: 16.92 kB / 1.358 GB, free: 11.37 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7655, allocations: 130.3 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.7656, allocations: 384 / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.7656, allocations: 4.375 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/0.7657, allocations: 38.25 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7657, allocations: 3.938 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7657, allocations: 4 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.7657, allocations: 4 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.121e-05/0.7658, allocations: 15.97 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.7659, allocations: 132.8 kB / 1.358 GB, free: 10.97 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.766, allocations: 42.5 kB / 1.358 GB, free: 10.92 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.766, allocations: 20.91 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.766, allocations: 4 kB / 1.358 GB, free: 10.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.766, allocations: 30.56 kB / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.766, allocations: 0 / 1.358 GB, free: 10.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.7662, allocations: 65.56 kB / 1.358 GB, free: 10.78 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.7663, allocations: 55.41 kB / 1.358 GB, free: 10.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.7663, allocations: 128.6 kB / 1.358 GB, free: 10.58 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.7663, allocations: 25.7 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.7664, allocations: 92.14 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.7664, allocations: 15.94 kB / 1.359 GB, free: 10.44 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.7664, allocations: 25.7 kB / 1.359 GB, free: 10.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.7665, allocations: 310.8 kB / 1.359 GB, free: 10.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.7666, allocations: 23.98 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.7666, allocations: 23.92 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.7667, allocations: 52.83 kB / 1.359 GB, free: 9.992 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7667, allocations: 4 kB / 1.359 GB, free: 9.988 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001219/0.7668, allocations: 85.62 kB / 1.359 GB, free: 9.898 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7668, allocations: 11.94 kB / 1.359 GB, free: 9.887 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7668, allocations: 0 / 1.359 GB, free: 9.887 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.7668, allocations: 4 kB / 1.359 GB, free: 9.883 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004412/0.7673, allocations: 79.81 kB / 1.359 GB, free: 9.805 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.7685, allocations: 1.4 MB / 1.361 GB, free: 8.289 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.7685, allocations: 7.891 kB / 1.361 GB, free: 8.281 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.7685, allocations: 4.156 kB / 1.361 GB, free: 8.277 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 6.72e-05/0.7686, allocations: 123.2 kB / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.7686, allocations: 7.953 kB / 1.361 GB, free: 8.141 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-06/0.7686, allocations: 11.56 kB / 1.361 GB, free: 8.133 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.7686, allocations: 0 / 1.361 GB, free: 8.133 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.7686, allocations: 0 / 1.361 GB, free: 8.133 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7686, allocations: 0 / 1.361 GB, free: 8.133 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.342e-05/0.7687, allocations: 132.7 kB / 1.361 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7687, allocations: 3.938 kB / 1.361 GB, free: 7.957 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.7691, allocations: 99.86 kB / 1.361 GB, free: 7.859 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7691, allocations: 0 / 1.361 GB, free: 7.859 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7691, allocations: 7.984 kB / 1.361 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009903/0.7701, allocations: 1.402 MB / 1.362 GB, free: 6.34 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7701, allocations: 0 / 1.362 GB, free: 6.34 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.581e-05/0.7702, allocations: 85.25 kB / 1.362 GB, free: 6.238 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.7702, allocations: 3.938 kB / 1.362 GB, free: 6.234 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-06/0.7702, allocations: 0 / 1.362 GB, free: 6.234 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.7702, allocations: 11.98 kB / 1.362 GB, free: 6.223 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.7703, allocations: 0 / 1.362 GB, free: 6.223 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.7703, allocations: 0 / 1.362 GB, free: 6.223 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.7703, allocations: 95.27 kB / 1.363 GB, free: 6.129 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.7703, allocations: 0 / 1.363 GB, free: 6.129 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001743/0.7705, allocations: 20 kB / 1.363 GB, free: 6.109 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.000345/0.7708, allocations: 0.6435 MB / 1.363 GB, free: 5.434 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005397/0.7714, allocations: 145.5 kB / 1.363 GB, free: 5.285 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7714, allocations: 4 kB / 1.363 GB, free: 5.281 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.7718, allocations: 119.8 kB / 1.363 GB, free: 5.164 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.772, allocations: 8.062 kB / 1.363 GB, free: 5.156 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.7732, allocations: 1.288 MB / 1.365 GB, free: 3.789 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.7732, allocations: 63.34 kB / 1.365 GB, free: 3.707 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.7733, allocations: 7.844 kB / 1.365 GB, free: 3.699 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.7733, allocations: 19.44 kB / 1.365 GB, free: 3.68 MB / 1.042 GB Notification: Performance of SimCode: time 7.22e-07/0.7733, allocations: 0 / 1.365 GB, free: 3.68 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.788, allocations: 2.925 MB / 1.368 GB, free: 0.9023 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.727, allocations: 14.94 kB / 1.368 GB, free: 0.8945 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.035278150811791]