Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.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.0009301/0.0009301, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.0009166/0.0009166, allocations: 173 kB / 23.03 MB, free: 1.543 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.9213/0.9213, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.998/1.998, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.693e-05/3.974e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.003139/0.003179, allocations: 1.418 MB / 0.8796 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.004434, allocations: 0.9316 MB / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.004476, allocations: 0 / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.004503, allocations: 4.969 kB / 0.8805 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.004568, allocations: 11.91 kB / 0.8805 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.005158, allocations: 223 kB / 0.8807 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/0.005249, allocations: 63.7 kB / 0.8808 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.005289, allocations: 7.938 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.005344, allocations: 31.97 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.005402, allocations: 20.5 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.005419, allocations: 4 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.005857, allocations: 372.5 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.005876, allocations: 11.97 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.005905, allocations: 20.48 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.006288, allocations: 311.4 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.006294, allocations: 1.531 kB / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.465e-06/0.006296, allocations: 0 / 0.8815 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.006303, allocations: 0 / 0.8815 GB, free: 2.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005421/0.006845, allocations: 451.3 kB / 0.882 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.006892, allocations: 13.06 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.007128, allocations: 28.8 kB / 0.882 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.007238, allocations: 113.2 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.007257, allocations: 8.375 kB / 0.8821 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.00728, allocations: 12.31 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.007454, allocations: 118.3 kB / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.007466, allocations: 192 / 0.8822 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.007476, allocations: 8.375 kB / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.007484, allocations: 384 / 0.8823 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.007531, allocations: 19.92 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.007684, allocations: 136.6 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.007804, allocations: 78.97 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.007841, allocations: 31.67 kB / 0.8825 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.007853, allocations: 4 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.007878, allocations: 33.39 kB / 0.8825 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.007879, allocations: 0 / 0.8825 GB, free: 1.555 MB / 0.8386 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002382/0.01026, allocations: 0.826 MB / 0.8834 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.0103, allocations: 51.41 kB / 0.8834 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.0104, allocations: 185.9 kB / 0.8836 GB, free: 416 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01042, allocations: 25.7 kB / 0.8836 GB, free: 384 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.01048, allocations: 143.2 kB / 0.8837 GB, free: 232 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.01052, allocations: 35.69 kB / 0.8838 GB, free: 196 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/0.01059, allocations: 55.28 kB / 0.8838 GB, free: 132 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.01074, allocations: 0.4884 MB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.01084, allocations: 67.97 kB / 0.8844 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.01093, allocations: 75.95 kB / 0.8844 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01113, allocations: 153.2 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01113, allocations: 8 kB / 0.8846 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002768/0.01141, allocations: 218.6 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.01142, allocations: 4 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.01143, allocations: 7.984 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01145, allocations: 0 / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.0116, allocations: 31.91 kB / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01161, allocations: 0 / 0.8848 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.01168, allocations: 8 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.01169, allocations: 7.984 kB / 0.8849 GB, free: 15.05 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 (14): * Single equations (assignments): 13 * 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 8.897e-05/0.01178, allocations: 168.5 kB / 0.885 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.01181, allocations: 11.95 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.01184, allocations: 8.438 kB / 0.885 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01184, allocations: 7.984 kB / 0.8851 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01185, allocations: 3.938 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01185, allocations: 3.984 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.01233, allocations: 425.8 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01233, allocations: 3.938 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.01246, allocations: 27.97 kB / 0.8855 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01247, allocations: 4 kB / 0.8855 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.01248, allocations: 11.92 kB / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01249, allocations: 0 / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01249, allocations: 0 / 0.8855 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.01286, allocations: 367.1 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.01287, allocations: 11.95 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01289, allocations: 3.938 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.01298, allocations: 11.92 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.01301, allocations: 8.016 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.01302, allocations: 15.98 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.557e-05/0.01307, allocations: 135.2 kB / 0.886 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01307, allocations: 0 / 0.886 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001973/0.01327, allocations: 35.94 kB / 0.8861 GB, free: 13.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001614/0.01343, allocations: 111.2 kB / 0.8862 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.01371, allocations: 193.2 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01371, allocations: 0 / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.0138, allocations: 79.64 kB / 0.8864 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.014, allocations: 17 kB / 0.8865 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009205/0.01493, allocations: 370.2 kB / 0.8868 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.01497, allocations: 63.36 kB / 0.8869 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.449e-05/0.01505, allocations: 24.72 kB / 0.8869 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.01512, allocations: 20.48 kB / 0.8869 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.01512, allocations: 0 / 0.8869 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.004369/0.01949, allocations: 2.539 MB / 0.8894 GB, free: 10.32 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck2.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.574028930161148]