Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0007581/0.0007581, 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.0007838/0.0007838, 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.87/0.87, 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.755/1.755, allocations: 390.1 MB / 0.6341 GB, free: 11.6 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.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",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.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.372e-05, allocations: 2.281 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001468/0.001481, allocations: 1.425 MB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009208/0.002402, allocations: 1.005 MB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.00244, allocations: 0 / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.002457, allocations: 7.938 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.002551, allocations: 23.78 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.003002, allocations: 246.7 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.003084, allocations: 67.66 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.003124, allocations: 11.91 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.269e-05/0.003177, allocations: 43.89 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.003248, allocations: 31.91 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.003262, allocations: 4 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003741/0.003636, allocations: 403.4 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003659, allocations: 15.91 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.003685, allocations: 19.92 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.003996, allocations: 347 kB / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003998, allocations: 0 / 1.005 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003999, allocations: 3.938 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004003, allocations: 0 / 1.005 GB, free: 7.801 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003944/0.004397, allocations: 381.1 kB / 1.005 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004431, allocations: 12.03 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.004458, allocations: 30.75 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.004732, allocations: 56.81 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.004838, allocations: 125.7 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.004852, allocations: 4.375 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.004863, allocations: 4.375 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.004984, allocations: 62.2 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.004991, allocations: 192 / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.005, allocations: 7.938 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005005, allocations: 7.875 kB / 1.006 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.00512, allocations: 43.95 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.00525, allocations: 144.7 kB / 1.006 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.005441, allocations: 86.52 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.005502, allocations: 32.92 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.005512, allocations: 0 / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.005526, allocations: 30.56 kB / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.005526, allocations: 0 / 1.006 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002767/0.005803, allocations: 125.4 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.00584, allocations: 51.41 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.005961, allocations: 156.2 kB / 1.006 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.005976, allocations: 25.7 kB / 1.006 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.006258, allocations: 96.08 kB / 1.006 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.006278, allocations: 15.89 kB / 1.006 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.00632, allocations: 33.7 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.006389, allocations: 314.8 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.00647, allocations: 43.97 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.006545, allocations: 51.97 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.006688, allocations: 96.75 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006689, allocations: 0 / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001922/0.006881, allocations: 148.1 kB / 1.007 GB, free: 5.469 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006894, allocations: 7.938 kB / 1.007 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.006907, allocations: 4 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006918, allocations: 0 / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.00701, allocations: 27.98 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.007014, allocations: 0 / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.00708, allocations: 19.88 kB / 1.007 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.007088, allocations: 0 / 1.007 GB, free: 5.41 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 (8): * Single equations (assignments): 7 * 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.998e-05/0.007148, allocations: 117.8 kB / 1.007 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.007159, allocations: 7.953 kB / 1.007 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.007187, allocations: 16.2 kB / 1.007 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007189, allocations: 0 / 1.007 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.007193, allocations: 0 / 1.007 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.007195, allocations: 0 / 1.007 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.393e-05/0.007269, allocations: 140.8 kB / 1.007 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.00727, allocations: 0 / 1.007 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.007317, allocations: 15.92 kB / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.007318, allocations: 0 / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.007329, allocations: 11.94 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.00733, allocations: 3.984 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007331, allocations: 0 / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.00749, allocations: 105 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.007502, allocations: 3.953 kB / 1.008 GB, free: 4.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.007519, allocations: 23.86 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.338e-05/0.007562, allocations: 4 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.007581, allocations: 3.984 kB / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007586, allocations: 0 / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.154e-05/0.007637, allocations: 109.5 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007637, allocations: 0 / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001527/0.00779, allocations: 31.94 kB / 1.008 GB, free: 4.754 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 (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.0003533/0.008143, allocations: 0.6675 MB / 1.008 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.008338, allocations: 113.6 kB / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.008339, allocations: 0 / 1.009 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.008393, allocations: 27.97 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.008559, allocations: 11.86 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.009825, allocations: 1.576 MB / 1.01 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.009863, allocations: 75.33 kB / 1.01 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.364e-05/0.009907, allocations: 8.312 kB / 1.01 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.009956, allocations: 24.48 kB / 1.01 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.009956, allocations: 4 kB / 1.01 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.02464, allocations: 3.807 MB / 1.014 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.325/6.35, allocations: 2.656 kB / 1.014 GB, free: 14.47 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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: 10.296264098025858]