Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0007573/0.0007573, 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.0007615/0.0007615, 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.8709/0.8709, allocations: 230.6 MB / 256 MB, free: 9.602 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.874/1.874, 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.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009658/0.0009658, allocations: 71.89 kB / 1.178 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7246, allocations: 180.5 MB / 1.354 GB, free: 14.92 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001778/0.7264, allocations: 1.386 MB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.000885/0.7273, allocations: 0.8558 MB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.7273, allocations: 0 / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.7273, allocations: 3.938 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.7274, allocations: 11.86 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.7278, allocations: 225.6 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.509e-05/0.7279, allocations: 55.72 kB / 1.357 GB, free: 12.39 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.728, allocations: 4 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.728, allocations: 19.94 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.7281, allocations: 19.91 kB / 1.357 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.7281, allocations: 11.94 kB / 1.357 GB, free: 12.33 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.7285, allocations: 375.5 kB / 1.357 GB, free: 11.96 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.7285, allocations: 11.92 kB / 1.357 GB, free: 11.95 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.7285, allocations: 19.92 kB / 1.357 GB, free: 11.93 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.7288, allocations: 273.4 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7288, allocations: 0 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7288, allocations: 0 / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.7288, allocations: 0 / 1.358 GB, free: 11.67 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004013/0.7292, allocations: 353.2 kB / 1.358 GB, free: 11.29 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7292, allocations: 8.031 kB / 1.358 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.7293, allocations: 38.73 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.7295, allocations: 40.84 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.7296, allocations: 106.5 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.7296, allocations: 4.375 kB / 1.358 GB, free: 11.06 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.7296, allocations: 384 / 1.358 GB, free: 11.06 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.7297, allocations: 66.14 kB / 1.358 GB, free: 10.99 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7298, allocations: 11.92 kB / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7298, allocations: 4 kB / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7298, allocations: 0 / 1.358 GB, free: 10.98 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.7299, allocations: 43.95 kB / 1.358 GB, free: 10.93 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.7302, allocations: 244 kB / 1.358 GB, free: 10.65 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.7307, allocations: 138.4 kB / 1.359 GB, free: 10.51 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.237e-05/0.7308, allocations: 32.84 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.7308, allocations: 7.938 kB / 1.359 GB, free: 10.46 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.7308, allocations: 38.55 kB / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.7308, allocations: 0 / 1.359 GB, free: 10.42 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002658/0.7311, allocations: 97.64 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.7311, allocations: 51.41 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.7312, allocations: 133.8 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.7312, allocations: 25.7 kB / 1.359 GB, free: 10.08 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.7312, allocations: 96.08 kB / 1.359 GB, free: 9.984 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.7312, allocations: 19.83 kB / 1.359 GB, free: 9.965 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.7313, allocations: 29.7 kB / 1.359 GB, free: 9.93 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.7313, allocations: 314.8 kB / 1.359 GB, free: 9.613 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.7314, allocations: 35.97 kB / 1.359 GB, free: 9.578 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.7315, allocations: 57.62 kB / 1.359 GB, free: 9.516 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.7316, allocations: 88 kB / 1.36 GB, free: 9.426 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.7316, allocations: 7.938 kB / 1.36 GB, free: 9.418 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001775/0.7318, allocations: 129.5 kB / 1.36 GB, free: 9.285 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7318, allocations: 4 kB / 1.36 GB, free: 9.281 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.7318, allocations: 4 kB / 1.36 GB, free: 9.277 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.7318, allocations: 3.938 kB / 1.36 GB, free: 9.273 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.7319, allocations: 15.92 kB / 1.36 GB, free: 9.258 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.7319, allocations: 4 kB / 1.36 GB, free: 9.254 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.7319, allocations: 15.94 kB / 1.36 GB, free: 9.238 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.732, allocations: 8.031 kB / 1.36 GB, free: 9.23 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.732, allocations: 115.2 kB / 1.36 GB, free: 9.109 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.732, allocations: 4 kB / 1.36 GB, free: 9.105 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.7321, allocations: 8 kB / 1.36 GB, free: 9.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7321, allocations: 0 / 1.36 GB, free: 9.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7321, allocations: 3.984 kB / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7321, allocations: 3.938 kB / 1.36 GB, free: 9.082 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.7322, allocations: 144.6 kB / 1.36 GB, free: 8.898 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7322, allocations: 0 / 1.36 GB, free: 8.898 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.7322, allocations: 11.98 kB / 1.36 GB, free: 8.887 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.7322, allocations: 4 kB / 1.36 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7322, allocations: 0 / 1.36 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7322, allocations: 0 / 1.36 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7322, allocations: 0 / 1.36 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.7324, allocations: 183.4 kB / 1.36 GB, free: 8.688 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.7324, allocations: 3.953 kB / 1.36 GB, free: 8.684 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.7324, allocations: 0 / 1.36 GB, free: 8.684 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.7325, allocations: 4.234 kB / 1.36 GB, free: 8.68 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.7325, allocations: 11.98 kB / 1.36 GB, free: 8.668 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.7325, allocations: 4.125 kB / 1.36 GB, free: 8.664 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.7325, allocations: 99.02 kB / 1.36 GB, free: 8.57 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7325, allocations: 3.938 kB / 1.36 GB, free: 8.566 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001693/0.7327, allocations: 20 kB / 1.36 GB, free: 8.547 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006587/0.7334, allocations: 0.7279 MB / 1.361 GB, free: 7.793 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.7336, allocations: 105.6 kB / 1.361 GB, free: 7.684 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7336, allocations: 64 / 1.361 GB, free: 7.684 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.7336, allocations: 31.97 kB / 1.361 GB, free: 7.652 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.7339, allocations: 9.875 kB / 1.361 GB, free: 7.645 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.735, allocations: 1.5 MB / 1.363 GB, free: 6.059 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.7351, allocations: 67.34 kB / 1.363 GB, free: 5.973 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.7351, allocations: 7.984 kB / 1.363 GB, free: 5.965 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.7352, allocations: 15.53 kB / 1.363 GB, free: 5.949 MB / 1.042 GB Notification: Performance of SimCode: time 8.12e-07/0.7352, allocations: 7.938 kB / 1.363 GB, free: 5.941 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.7498, allocations: 2.873 MB / 1.366 GB, free: 3.211 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/7.065, allocations: 1.828 kB / 1.366 GB, free: 3.211 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.29560738708824]