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.001158/0.001158, allocations: 77.09 kB / 20.66 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.001013/0.001013, allocations: 169 kB / 24.06 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.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.174/2.174, allocations: 429.5 MB / 0.6743 GB, free: 3.93 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 1.954e-06/1.954e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.169e-05, allocations: 6.422 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001856/0.001877, allocations: 1.429 MB / 0.8808 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002989, allocations: 0.908 MB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.003036, allocations: 1.594 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.00306, allocations: 3.938 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.003123, allocations: 11.86 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.00379, allocations: 223.4 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.734e-05/0.003888, allocations: 59.72 kB / 0.882 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.003937, allocations: 11.92 kB / 0.882 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.00399, allocations: 31.97 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.004049, allocations: 15.92 kB / 0.8821 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.004064, allocations: 4 kB / 0.8821 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.004497, allocations: 376.2 kB / 0.8824 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.004518, allocations: 13.27 kB / 0.8824 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.004544, allocations: 23.91 kB / 0.8824 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.004877, allocations: 307.5 kB / 0.8827 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004879, allocations: 0 / 0.8827 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00488, allocations: 4 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004885, allocations: 0 / 0.8827 GB, free: 2.621 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.0004479/0.005332, allocations: 451.3 kB / 0.8832 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.005378, allocations: 12.03 kB / 0.8832 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.005582, allocations: 28.8 kB / 0.8832 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.005702, allocations: 120.5 kB / 0.8833 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.005721, allocations: 4.375 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.005744, allocations: 4.375 kB / 0.8833 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.005913, allocations: 118.3 kB / 0.8835 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.005926, allocations: 192 / 0.8835 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.005935, allocations: 8.312 kB / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.005942, allocations: 384 / 0.8835 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.005977, allocations: 19.92 kB / 0.8835 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.006142, allocations: 121.3 kB / 0.8836 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.006253, allocations: 58.98 kB / 0.8837 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.006286, allocations: 31.81 kB / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.006303, allocations: 4 kB / 0.8837 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.00633, allocations: 37.33 kB / 0.8837 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.006331, allocations: 0 / 0.8837 GB, free: 1.484 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.002255/0.008586, allocations: 0.7708 MB / 0.8845 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.008626, allocations: 59.28 kB / 0.8845 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.008731, allocations: 185.8 kB / 0.8847 GB, free: 392 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.00875, allocations: 25.7 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.008808, allocations: 143.1 kB / 0.8849 GB, free: 208 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.008848, allocations: 35.69 kB / 0.8849 GB, free: 172 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.008922, allocations: 51.31 kB / 0.885 GB, free: 112 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.009086, allocations: 0.4961 MB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.009161, allocations: 55.97 kB / 0.8855 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.009231, allocations: 55.97 kB / 0.8855 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.009382, allocations: 129.7 kB / 0.8857 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009383, allocations: 0 / 0.8857 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002325/0.009616, allocations: 189.5 kB / 0.8858 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.009635, allocations: 14.34 kB / 0.8859 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.009649, allocations: 0 / 0.8859 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.009662, allocations: 0 / 0.8859 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.009805, allocations: 31.97 kB / 0.8859 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.009812, allocations: 3.938 kB / 0.8859 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.009887, allocations: 19.97 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.009903, allocations: 4 kB / 0.8859 GB, free: 15.1 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 0.0001055/0.01001, allocations: 160.6 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01003, allocations: 11.95 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.01007, allocations: 20.38 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01008, allocations: 0 / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01008, allocations: 0 / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.01008, allocations: 3.938 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.01053, allocations: 393.9 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01053, allocations: 0 / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01066, allocations: 31.91 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01066, allocations: 0 / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01068, allocations: 8 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01068, allocations: 0 / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01068, allocations: 7.938 kB / 0.8865 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.01103, allocations: 328.4 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.01104, allocations: 3.953 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01106, allocations: 7.984 kB / 0.8869 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.01115, allocations: 4 kB / 0.8869 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.01118, allocations: 15.92 kB / 0.8869 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01119, allocations: 3.984 kB / 0.8869 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.01124, allocations: 139.2 kB / 0.887 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01124, allocations: 0 / 0.887 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002045/0.01145, allocations: 47.97 kB / 0.8871 GB, free: 13.88 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.000145/0.01159, allocations: 119.2 kB / 0.8872 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.01182, allocations: 157.3 kB / 0.8873 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01182, allocations: 4 kB / 0.8873 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.0119, allocations: 67.58 kB / 0.8874 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01211, allocations: 21.78 kB / 0.8874 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008457/0.01296, allocations: 370.2 kB / 0.8878 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.013, allocations: 67.34 kB / 0.8878 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.01308, allocations: 16.73 kB / 0.8878 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.0132, allocations: 94.17 kB / 0.8879 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.0132, allocations: 0 / 0.8879 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004001/0.0172, allocations: 2.588 MB / 0.8905 GB, free: 10.37 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.841092014219612]