Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.002436/0.002436, allocations: 85.48 kB / 19.44 MB, free: 344 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.002935/0.002935, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.411/3.411, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.59e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.004576/0.004612, allocations: 1.397 MB / 0.8788 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.007516, allocations: 0.9135 MB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.007567, allocations: 4 kB / 0.8797 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.007596, allocations: 5.031 kB / 0.8797 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.007689, allocations: 7.922 kB / 0.8797 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.008885, allocations: 220.9 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.009026, allocations: 43.78 kB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.009082, allocations: 11.98 kB / 0.88 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.009188, allocations: 23.92 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.009265, allocations: 15.98 kB / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.009283, allocations: 0 / 0.88 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.01049, allocations: 379.4 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.01052, allocations: 11.98 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.01056, allocations: 7.938 kB / 0.8804 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000852/0.01142, allocations: 304 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01142, allocations: 0 / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.183e-06/0.01142, allocations: 0 / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.01143, allocations: 1.094 kB / 0.8807 GB, free: 3.285 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008457/0.01227, allocations: 455.2 kB / 0.8812 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.01232, allocations: 8.031 kB / 0.8812 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.0127, allocations: 25.95 kB / 0.8812 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.01289, allocations: 114.2 kB / 0.8813 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.01291, allocations: 9.188 kB / 0.8813 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.01294, allocations: 4.312 kB / 0.8813 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.01321, allocations: 76.78 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.01322, allocations: 192 / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.01323, allocations: 384 / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.01324, allocations: 4 kB / 0.8814 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.01343, allocations: 27.92 kB / 0.8814 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.01374, allocations: 132.6 kB / 0.8815 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005273/0.01427, allocations: 71.02 kB / 0.8816 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.01441, allocations: 27.75 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.01443, allocations: 4 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.01447, allocations: 33.39 kB / 0.8817 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.01447, allocations: 0.625 kB / 0.8817 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.003435/0.01791, allocations: 387.7 kB / 0.882 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.01797, allocations: 55.34 kB / 0.8821 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.01823, allocations: 187.4 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.01828, allocations: 29.7 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.01842, allocations: 134.8 kB / 0.8824 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.01848, allocations: 23.8 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.0186, allocations: 39.34 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003985/0.019, allocations: 0.4884 MB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.01927, allocations: 47.97 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.01953, allocations: 39.98 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.02004, allocations: 99.66 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02004, allocations: 0 / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007019/0.02074, allocations: 149.5 kB / 0.8833 GB, free: 432 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.02076, allocations: 4 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.02078, allocations: 4 kB / 0.8833 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.0208, allocations: 7.938 kB / 0.8833 GB, free: 416 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.02105, allocations: 19.98 kB / 0.8833 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.02107, allocations: 3.938 kB / 0.8833 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.02123, allocations: 4 kB / 0.8833 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.02125, allocations: 0 / 0.8833 GB, free: 388 kB / 0.8386 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 (8): * Single equations (assignments): 7 * 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.0002043/0.02146, allocations: 164.6 kB / 0.8835 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.0215, allocations: 4.062 kB / 0.8835 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.02156, allocations: 12.44 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.02156, allocations: 0 / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.02157, allocations: 11.88 kB / 0.8835 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.02158, allocations: 4 kB / 0.8835 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.02285, allocations: 365 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02286, allocations: 0 / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.0231, allocations: 15.98 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02311, allocations: 0 / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.02313, allocations: 11.92 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.02314, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.02314, allocations: 4 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/0.02405, allocations: 283.6 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.02411, allocations: 11.94 kB / 0.8842 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.02415, allocations: 7.922 kB / 0.8842 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.02437, allocations: 4 kB / 0.8842 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.02441, allocations: 3.984 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.02443, allocations: 8 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000144/0.02458, allocations: 138.5 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.6e-07/0.02458, allocations: 4 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005146/0.02509, allocations: 20 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002999/0.02539, allocations: 122.7 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006068/0.026, allocations: 125.3 kB / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.026, allocations: 0 / 0.8846 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.02623, allocations: 51.59 kB / 0.8846 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.0267, allocations: 8 kB / 0.8846 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.02785, allocations: 250.8 kB / 0.8849 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02797, allocations: 71.2 kB / 0.885 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.02808, allocations: 11.98 kB / 0.885 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.02817, allocations: 12.5 kB / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.02817, allocations: 0 / 0.885 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.008591/0.03676, allocations: 1.813 MB / 0.8867 GB, free: 12.79 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.768669169978239]