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.001006/0.001006, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001486/0.001486, allocations: 173 kB / 23.49 MB, free: 1.059 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.9491/0.9491, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.071/2.071, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 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 1.664e-06/1.664e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.45e-05, allocations: 6.047 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001763/0.001787, allocations: 1.423 MB / 0.8796 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.00279, allocations: 0.9169 MB / 0.8805 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.925e-05/0.002829, allocations: 4 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.002873, allocations: 8.891 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.002996, allocations: 23.83 kB / 0.8805 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.003471, allocations: 226.2 kB / 0.8808 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.00364, allocations: 172.6 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.00368, allocations: 8 kB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.003758, allocations: 71.88 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.003864, allocations: 76.56 kB / 0.8811 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.003885, allocations: 8 kB / 0.8811 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.004295, allocations: 389 kB / 0.8814 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.004365, allocations: 59.89 kB / 0.8815 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.00442, allocations: 51.83 kB / 0.8815 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.004793, allocations: 386.9 kB / 0.8819 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004795, allocations: 0.5 kB / 0.8819 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004796, allocations: 4 kB / 0.8819 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.0048, allocations: 1.875 kB / 0.8819 GB, free: 2.809 MB / 0.8386 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.0004706/0.005271, allocations: 0.507 MB / 0.8824 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.005307, allocations: 8.031 kB / 0.8824 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.005805, allocations: 153.5 kB / 0.8826 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.005922, allocations: 125.4 kB / 0.8827 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.005946, allocations: 9.953 kB / 0.8827 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.005968, allocations: 8.375 kB / 0.8827 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.006206, allocations: 122.8 kB / 0.8828 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.006212, allocations: 2.625 kB / 0.8828 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.006228, allocations: 384 / 0.8828 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.006236, allocations: 384 / 0.8828 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.006383, allocations: 83.73 kB / 0.8829 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.006769, allocations: 359.5 kB / 0.8833 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.006997, allocations: 129.2 kB / 0.8834 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.007079, allocations: 55.7 kB / 0.8834 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.007092, allocations: 0 / 0.8834 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.007114, allocations: 45.33 kB / 0.8835 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007115, allocations: 0 / 0.8835 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003245/0.00744, allocations: 157.4 kB / 0.8836 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.00747, allocations: 55.41 kB / 0.8837 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.007607, allocations: 256 kB / 0.8839 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.007624, allocations: 25.7 kB / 0.8839 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.007688, allocations: 155.2 kB / 0.8841 GB, free: 420 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.007713, allocations: 35.73 kB / 0.8841 GB, free: 384 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.007784, allocations: 75.28 kB / 0.8842 GB, free: 300 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.007908, allocations: 0.5001 MB / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.008014, allocations: 67.97 kB / 0.8848 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.008127, allocations: 99.33 kB / 0.8848 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.008311, allocations: 157.8 kB / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008313, allocations: 0 / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002854/0.008598, allocations: 217.3 kB / 0.8852 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.008615, allocations: 8 kB / 0.8852 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.008634, allocations: 19.95 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008647, allocations: 0 / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.008782, allocations: 31.91 kB / 0.8853 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.008787, allocations: 4 kB / 0.8853 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-05/0.008883, allocations: 35.72 kB / 0.8853 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.008898, allocations: 8 kB / 0.8853 GB, free: 15.12 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 8.212e-05/0.00898, allocations: 160.6 kB / 0.8855 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.009014, allocations: 15.91 kB / 0.8855 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.009047, allocations: 17.41 kB / 0.8855 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00905, allocations: 4.109 kB / 0.8855 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.009053, allocations: 3.938 kB / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009056, allocations: 4 kB / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.009185, allocations: 164.5 kB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.009186, allocations: 3.938 kB / 0.8857 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.009278, allocations: 27.97 kB / 0.8857 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.009281, allocations: 3.984 kB / 0.8857 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.009294, allocations: 4 kB / 0.8857 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009296, allocations: 3.938 kB / 0.8857 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009297, allocations: 0 / 0.8857 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.009527, allocations: 284 kB / 0.886 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.009541, allocations: 7.953 kB / 0.886 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.009562, allocations: 4 kB / 0.886 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.009639, allocations: 15.92 kB / 0.886 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.009666, allocations: 3.984 kB / 0.886 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.009675, allocations: 4 kB / 0.886 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.877e-05/0.009744, allocations: 172.2 kB / 0.8862 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009744, allocations: 0 / 0.8862 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002033/0.009948, allocations: 51.94 kB / 0.8862 GB, free: 14.13 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.0001436/0.01009, allocations: 111.2 kB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01037, allocations: 244.6 kB / 0.8866 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01037, allocations: 3.938 kB / 0.8866 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.01045, allocations: 51.66 kB / 0.8866 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01068, allocations: 42.94 kB / 0.8867 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.01116, allocations: 296.8 kB / 0.8869 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.506e-05/0.01125, allocations: 79.31 kB / 0.887 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.035e-05/0.01133, allocations: 40.44 kB / 0.8871 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.01139, allocations: 20.47 kB / 0.8871 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/0.01139, allocations: 0 / 0.8871 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.004129/0.01552, allocations: 2.815 MB / 0.8898 GB, free: 10.39 MB / 0.8542 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.416613233042881]