Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.00144/0.00144, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001674/0.001674, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.19/1.19, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.296/2.296, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0.875 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.338e-05, allocations: 6.109 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002232/0.002265, allocations: 1.397 MB / 0.8808 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003329, allocations: 0.8901 MB / 0.8817 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003369, allocations: 0 / 0.8817 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.003395, allocations: 3.938 kB / 0.8817 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.003487, allocations: 8.75 kB / 0.8817 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.003989, allocations: 218.3 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.004075, allocations: 35.8 kB / 0.8819 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.004121, allocations: 4 kB / 0.8819 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.004177, allocations: 16.58 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.004228, allocations: 17.11 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.00424, allocations: 0 / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.004648, allocations: 383.4 kB / 0.8823 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.004666, allocations: 5.516 kB / 0.8823 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004689, allocations: 19.94 kB / 0.8823 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.005048, allocations: 291.2 kB / 0.8826 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005052, allocations: 0 / 0.8826 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005053, allocations: 0 / 0.8826 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.005058, allocations: 1.125 kB / 0.8826 GB, free: 2.754 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000397/0.005455, allocations: 439.6 kB / 0.883 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.005498, allocations: 8.625 kB / 0.883 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.005708, allocations: 32.8 kB / 0.8831 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.005809, allocations: 115.4 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.005825, allocations: 4.375 kB / 0.8832 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.005832, allocations: 384 / 0.8832 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005946, allocations: 50.95 kB / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.005955, allocations: 4.125 kB / 0.8832 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.005962, allocations: 384 / 0.8832 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.005968, allocations: 384 / 0.8832 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.005991, allocations: 15.91 kB / 0.8833 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.006115, allocations: 113.2 kB / 0.8834 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.006171, allocations: 35.06 kB / 0.8834 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.006188, allocations: 11.75 kB / 0.8834 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006201, allocations: 3.984 kB / 0.8834 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.006224, allocations: 41.39 kB / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.006225, allocations: 0 / 0.8834 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001367/0.006362, allocations: 49.58 kB / 0.8835 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.006392, allocations: 51.41 kB / 0.8835 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.006487, allocations: 177.9 kB / 0.8837 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.006497, allocations: 25.7 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.006549, allocations: 150.9 kB / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.006569, allocations: 3.953 kB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.006605, allocations: 35.28 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.006839, allocations: 0.4883 MB / 0.8844 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.006861, allocations: 11.98 kB / 0.8844 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.006879, allocations: 8 kB / 0.8844 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.006932, allocations: 43.66 kB / 0.8845 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006934, allocations: 0 / 0.8845 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.567e-05/0.007019, allocations: 61.69 kB / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.007033, allocations: 4 kB / 0.8845 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.00705, allocations: 8 kB / 0.8845 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.00706, allocations: 0 / 0.8845 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.007428, allocations: 51.92 kB / 0.8846 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.00856, allocations: 1.849 MB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.008582, allocations: 0 / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.00859, allocations: 4 kB / 0.8864 GB, free: 14.58 MB / 0.8542 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 7.352e-05/0.008663, allocations: 156.6 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.008672, allocations: 7.953 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.008686, allocations: 7.562 kB / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.008689, allocations: 7.922 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-07/0.008689, allocations: 0 / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008693, allocations: 0 / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.008759, allocations: 101.3 kB / 0.8867 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008761, allocations: 7.938 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.009128, allocations: 75.91 kB / 0.8867 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.00913, allocations: 0 / 0.8867 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.009135, allocations: 3.984 kB / 0.8867 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.01031, allocations: 1.837 MB / 0.8885 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01031, allocations: 0 / 0.8885 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.804e-05/0.01038, allocations: 84.39 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.01039, allocations: 4.094 kB / 0.8886 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-06/0.01039, allocations: 7.938 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.01041, allocations: 8 kB / 0.8886 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.01043, allocations: 0 / 0.8886 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.01044, allocations: 3.984 kB / 0.8886 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.01048, allocations: 127.2 kB / 0.8888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01048, allocations: 0 / 0.8888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001594/0.01064, allocations: 27.98 kB / 0.8888 GB, free: 11.95 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 (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.0001432/0.01078, allocations: 115.1 kB / 0.8889 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.01119, allocations: 121.3 kB / 0.889 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.0112, allocations: 0 / 0.889 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.01157, allocations: 95.59 kB / 0.8891 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.01172, allocations: 7.984 kB / 0.8891 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.01201, allocations: 134.2 kB / 0.8892 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.248e-05/0.01204, allocations: 63.2 kB / 0.8893 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.01206, allocations: 3.938 kB / 0.8893 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.01211, allocations: 74.27 kB / 0.8894 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01211, allocations: 4 kB / 0.8894 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.003352/0.01546, allocations: 1.596 MB / 0.8909 GB, free: 9.703 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.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: 6.097098613157868]