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.001285/0.001285, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001451/0.001451, allocations: 169 kB / 23.27 MB, free: 1.219 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.975/0.975, allocations: 177.1 MB / 203.7 MB, free: 5.504 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 2.267/2.267, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.255e-05, allocations: 13.34 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001642/0.001665, allocations: 1.423 MB / 0.8912 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.002635, allocations: 0.8987 MB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.002668, allocations: 4 kB / 0.8921 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.002707, allocations: 7.922 kB / 0.8921 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.002835, allocations: 15.91 kB / 0.8921 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.003244, allocations: 234.8 kB / 0.8923 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003395, allocations: 175.6 kB / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.095e-05/0.003425, allocations: 0 / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.003497, allocations: 71.88 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.686e-05/0.003594, allocations: 79.84 kB / 0.8926 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.003613, allocations: 8 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.003983, allocations: 383.4 kB / 0.893 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.004049, allocations: 59.89 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.004088, allocations: 47.84 kB / 0.8931 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.004416, allocations: 394.9 kB / 0.8935 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004418, allocations: 0 / 0.8935 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.004418, allocations: 3.938 kB / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.004421, allocations: 0 / 0.8935 GB, free: 5.941 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004923/0.004914, allocations: 0.5105 MB / 0.894 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.004955, allocations: 12.62 kB / 0.894 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004334/0.005389, allocations: 148.4 kB / 0.8941 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.005471, allocations: 122.5 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.005486, allocations: 4.375 kB / 0.8942 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.005503, allocations: 8.375 kB / 0.8942 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.00568, allocations: 114.8 kB / 0.8944 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.005685, allocations: 192 / 0.8944 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.005696, allocations: 4.375 kB / 0.8944 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.0057, allocations: 4.375 kB / 0.8944 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.005789, allocations: 59.88 kB / 0.8944 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.006078, allocations: 328 kB / 0.8947 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.006234, allocations: 115 kB / 0.8948 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.006285, allocations: 47.7 kB / 0.8949 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.006299, allocations: 4 kB / 0.8949 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.006321, allocations: 41.39 kB / 0.8949 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.006322, allocations: 4 kB / 0.8949 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0002322/0.006554, allocations: 133.4 kB / 0.8951 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.006576, allocations: 51.41 kB / 0.8951 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.006685, allocations: 262.4 kB / 0.8954 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.0067, allocations: 29.7 kB / 0.8954 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.006754, allocations: 159.2 kB / 0.8955 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.006775, allocations: 35.69 kB / 0.8956 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.756e-05/0.006842, allocations: 75.3 kB / 0.8957 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.006955, allocations: 0.5079 MB / 0.8961 GB, free: 3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.007016, allocations: 47.97 kB / 0.8962 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.007095, allocations: 83.94 kB / 0.8963 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.007226, allocations: 136 kB / 0.8964 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.007227, allocations: 0 / 0.8964 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002139/0.007441, allocations: 201 kB / 0.8966 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.007453, allocations: 8 kB / 0.8966 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.007467, allocations: 12.02 kB / 0.8966 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.007476, allocations: 3.938 kB / 0.8966 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.007588, allocations: 39.91 kB / 0.8967 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.007591, allocations: 0 / 0.8967 GB, free: 2.457 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.007661, allocations: 31.77 kB / 0.8967 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.007674, allocations: 4 kB / 0.8967 GB, free: 2.422 MB / 0.8542 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 6.921e-05/0.007743, allocations: 156.6 kB / 0.8968 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.00777, allocations: 15.91 kB / 0.8969 GB, free: 2.242 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.007801, allocations: 21.45 kB / 0.8969 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.007803, allocations: 3.938 kB / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.007805, allocations: 0 / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.007807, allocations: 0 / 0.8969 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.007926, allocations: 137.1 kB / 0.897 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007927, allocations: 0 / 0.897 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.008015, allocations: 36.02 kB / 0.897 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008016, allocations: 3.938 kB / 0.897 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.008027, allocations: 3.984 kB / 0.897 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008028, allocations: 4 kB / 0.8971 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008029, allocations: 0 / 0.8971 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.00822, allocations: 267.7 kB / 0.8973 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.008232, allocations: 11.91 kB / 0.8973 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008247, allocations: 0 / 0.8973 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.008319, allocations: 11.98 kB / 0.8973 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.008338, allocations: 7.984 kB / 0.8973 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.008348, allocations: 7.938 kB / 0.8973 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.741e-05/0.008405, allocations: 169.1 kB / 0.8975 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008405, allocations: 0 / 0.8975 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001801/0.008585, allocations: 51.94 kB / 0.8976 GB, free: 1.473 MB / 0.8542 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 (10): * Single equations (assignments): 10 * 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.0001015/0.008687, allocations: 111.2 kB / 0.8977 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.0089, allocations: 224.4 kB / 0.8979 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008902, allocations: 0 / 0.8979 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.008958, allocations: 51.59 kB / 0.8979 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.009161, allocations: 32.62 kB / 0.898 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.009541, allocations: 300.8 kB / 0.8982 GB, free: 0.7031 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.997e-05/0.009581, allocations: 83.25 kB / 0.8983 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.606e-05/0.009637, allocations: 12.5 kB / 0.8983 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.009744, allocations: 94.17 kB / 0.8984 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.009745, allocations: 0 / 0.8984 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of Templates: time 0.004029/0.01377, allocations: 3.046 MB / 0.9014 GB, free: 13.48 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.195271036121994]