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.001425/0.001425, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001672/0.001672, allocations: 177 kB / 23.36 MB, free: 1.129 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.9997/0.9997, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.366/2.366, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.703e-06/1.703e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.451e-05, allocations: 10.25 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.002873/0.002897, allocations: 1.45 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.004403, allocations: 0.9297 MB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.004449, allocations: 0 / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.004471, allocations: 3.938 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.00454, allocations: 7.875 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.005335, allocations: 210.9 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.005439, allocations: 55.77 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.005482, allocations: 11.92 kB / 0.8413 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.005551, allocations: 31.97 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.005616, allocations: 23.91 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.005633, allocations: 4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.006314, allocations: 391.4 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.006337, allocations: 11.97 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.006364, allocations: 19.94 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004584/0.006822, allocations: 314.9 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006825, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.62e-07/0.006826, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.00683, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.8073 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.000416/0.007246, allocations: 323.7 kB / 0.8423 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.007285, allocations: 12.62 kB / 0.8424 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.007492, allocations: 24.84 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.007598, allocations: 117.6 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.007616, allocations: 8.375 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.007638, allocations: 4.375 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.007815, allocations: 122.3 kB / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.007827, allocations: 192 / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.007836, allocations: 384 / 0.8426 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007844, allocations: 8.312 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.03e-05/0.007894, allocations: 19.92 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.008023, allocations: 80.98 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.008144, allocations: 50.62 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.008176, allocations: 16.86 kB / 0.8428 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.008188, allocations: 3.984 kB / 0.8428 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.008215, allocations: 34.56 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.008216, allocations: 0 / 0.8428 GB, free: 9.723 MB / 0.8073 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.003919/0.01213, allocations: 0.822 MB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.01216, allocations: 55.41 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.01226, allocations: 138.5 kB / 0.8438 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01229, allocations: 25.7 kB / 0.8438 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.01233, allocations: 88.41 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.01238, allocations: 43.62 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.01246, allocations: 41.67 kB / 0.844 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.01256, allocations: 322.8 kB / 0.8443 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.01266, allocations: 48 kB / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.01274, allocations: 47.98 kB / 0.8444 GB, free: 8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.01292, allocations: 110.9 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01292, allocations: 4 kB / 0.8445 GB, free: 7.887 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000272/0.0132, allocations: 150.7 kB / 0.8447 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01321, allocations: 8 kB / 0.8447 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.01322, allocations: 0 / 0.8447 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01324, allocations: 0 / 0.8447 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.01347, allocations: 35.95 kB / 0.8447 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01347, allocations: 4 kB / 0.8447 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01358, allocations: 8 kB / 0.8447 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.0136, allocations: 3.984 kB / 0.8447 GB, free: 7.676 MB / 0.8073 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 9.131e-05/0.01369, allocations: 121.7 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01372, allocations: 4 kB / 0.8448 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01377, allocations: 16.42 kB / 0.8448 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01377, allocations: 4 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.01377, allocations: 0 / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01378, allocations: 0 / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.01423, allocations: 283.2 kB / 0.8451 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01423, allocations: 0 / 0.8451 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.01446, allocations: 31.91 kB / 0.8451 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01446, allocations: 0 / 0.8451 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.01448, allocations: 3.984 kB / 0.8452 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01448, allocations: 4 kB / 0.8452 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01449, allocations: 0 / 0.8452 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.01512, allocations: 251.5 kB / 0.8454 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.01513, allocations: 7.938 kB / 0.8454 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01516, allocations: 19.97 kB / 0.8454 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.01532, allocations: 7.984 kB / 0.8454 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.01536, allocations: 7.922 kB / 0.8454 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01538, allocations: 7.984 kB / 0.8454 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.0154, allocations: 16.86 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.0154, allocations: 0 / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002778/0.01568, allocations: 47.86 kB / 0.8455 GB, free: 6.809 MB / 0.8073 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.0001664/0.01585, allocations: 96.41 kB / 0.8456 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.01612, allocations: 150.4 kB / 0.8457 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.01612, allocations: 0 / 0.8457 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.77e-05/0.01622, allocations: 48.84 kB / 0.8458 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01644, allocations: 15.98 kB / 0.8458 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.0175, allocations: 336.4 kB / 0.8461 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.649e-05/0.01755, allocations: 67.28 kB / 0.8462 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.01769, allocations: 24.72 kB / 0.8462 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.01786, allocations: 71.34 kB / 0.8463 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of SimCode: time 1.092e-06/0.01786, allocations: 0 / 0.8463 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of Templates: time 0.005809/0.02367, allocations: 2.548 MB / 0.8488 GB, free: 3.434 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.432114159222692]