Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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.002405/0.002405, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002832/0.002832, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.631/1.631, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 3.825/3.825, allocations: 440.5 MB / 0.6832 GB, free: 12.69 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_dp_inv_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_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 1.083 GB, free: 23.99 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.774e-05, allocations: 2.281 kB / 1.083 GB, free: 23.99 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.002419/0.002457, allocations: 1.404 MB / 1.084 GB, free: 23.02 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003838, allocations: 0.937 MB / 1.085 GB, free: 22.4 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.00389, allocations: 0 / 1.085 GB, free: 22.4 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.003919, allocations: 3.938 kB / 1.085 GB, free: 22.39 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.003978, allocations: 9.891 kB / 1.085 GB, free: 22.39 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.004749, allocations: 291.2 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.004851, allocations: 49.98 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.004898, allocations: 6.094 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.004957, allocations: 38.23 kB / 1.086 GB, free: 22.22 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.005015, allocations: 11.06 kB / 1.086 GB, free: 22.22 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.005032, allocations: 6.625 kB / 1.086 GB, free: 22.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.005652, allocations: 0.4897 MB / 1.086 GB, free: 22.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.005675, allocations: 17.92 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.005714, allocations: 19.47 kB / 1.086 GB, free: 22.1 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.006132, allocations: 339.8 kB / 1.087 GB, free: 22 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006136, allocations: 0 / 1.087 GB, free: 22 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.312e-06/0.006137, allocations: 0 / 1.087 GB, free: 22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.006141, allocations: 0 / 1.087 GB, free: 22 MB / 1.01 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.0004352/0.006577, allocations: 361.9 kB / 1.087 GB, free: 21.67 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006617, allocations: 9.25 kB / 1.087 GB, free: 21.67 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.00667, allocations: 8.031 kB / 1.087 GB, free: 21.66 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.006751, allocations: 115.6 kB / 1.087 GB, free: 21.53 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.006765, allocations: 8.297 kB / 1.087 GB, free: 21.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.006791, allocations: 9.094 kB / 1.087 GB, free: 21.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.006931, allocations: 104.5 kB / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.006943, allocations: 192 / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.006957, allocations: 8.125 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006963, allocations: 2.906 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.007024, allocations: 19.92 kB / 1.087 GB, free: 21.41 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.007159, allocations: 122.6 kB / 1.087 GB, free: 21.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.007267, allocations: 58.48 kB / 1.087 GB, free: 21.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.007311, allocations: 41.67 kB / 1.087 GB, free: 21.21 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.007335, allocations: 2.812 kB / 1.087 GB, free: 21.21 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.007357, allocations: 30.56 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.007358, allocations: 0 / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001177/0.008535, allocations: 0.4883 MB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.008577, allocations: 58 kB / 1.088 GB, free: 20.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.00866, allocations: 128.7 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.008674, allocations: 33.7 kB / 1.088 GB, free: 20.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.008702, allocations: 89.84 kB / 1.088 GB, free: 20.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.008735, allocations: 38.48 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.008785, allocations: 36.98 kB / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/0.008841, allocations: 318.3 kB / 1.089 GB, free: 20.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.008912, allocations: 52.38 kB / 1.089 GB, free: 20.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.008977, allocations: 51.16 kB / 1.089 GB, free: 20.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.009116, allocations: 124.3 kB / 1.089 GB, free: 20.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009117, allocations: 0 / 1.089 GB, free: 20.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002119/0.009329, allocations: 167.3 kB / 1.089 GB, free: 19.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.009348, allocations: 12.44 kB / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.009365, allocations: 3.938 kB / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.009389, allocations: 3.062 kB / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.009514, allocations: 26.58 kB / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.00952, allocations: 0 / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.036e-05/0.009551, allocations: 0 / 1.089 GB, free: 19.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.009564, allocations: 5.438 kB / 1.089 GB, free: 19.95 MB / 1.01 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 6.892e-05/0.009633, allocations: 120.5 kB / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.009649, allocations: 6.672 kB / 1.089 GB, free: 19.82 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.009868, allocations: 135.1 kB / 1.089 GB, free: 19.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009871, allocations: 8 kB / 1.089 GB, free: 19.74 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.009875, allocations: 0 / 1.089 GB, free: 19.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.009878, allocations: 0 / 1.089 GB, free: 19.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.01025, allocations: 315.4 kB / 1.09 GB, free: 19.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01025, allocations: 0 / 1.09 GB, free: 19.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.01036, allocations: 25.31 kB / 1.09 GB, free: 19.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01036, allocations: 3.938 kB / 1.09 GB, free: 19.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01037, allocations: 2.875 kB / 1.09 GB, free: 19.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01038, allocations: 5.672 kB / 1.09 GB, free: 19.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01038, allocations: 0 / 1.09 GB, free: 19.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.01063, allocations: 233.3 kB / 1.09 GB, free: 19.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.01064, allocations: 11.95 kB / 1.09 GB, free: 19.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01065, allocations: 2.531 kB / 1.09 GB, free: 19.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.01074, allocations: 6.719 kB / 1.09 GB, free: 19.28 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.01076, allocations: 5.844 kB / 1.09 GB, free: 19.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01077, allocations: 5.531 kB / 1.09 GB, free: 19.28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.286e-05/0.01081, allocations: 94.17 kB / 1.09 GB, free: 19.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.01081, allocations: 3.938 kB / 1.09 GB, free: 19.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003454/0.01115, allocations: 95.97 kB / 1.09 GB, free: 19.17 MB / 1.01 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.0003551/0.01151, allocations: 206.1 kB / 1.09 GB, free: 19.05 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01172, allocations: 129.7 kB / 1.09 GB, free: 18.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01172, allocations: 0 / 1.09 GB, free: 18.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.01177, allocations: 34.5 kB / 1.09 GB, free: 18.97 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.01205, allocations: 19.73 kB / 1.09 GB, free: 18.96 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.01258, allocations: 261.6 kB / 1.091 GB, free: 18.76 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.646e-05/0.01263, allocations: 78.53 kB / 1.091 GB, free: 18.68 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.939e-05/0.01269, allocations: 21.02 kB / 1.091 GB, free: 18.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.01273, allocations: 19.78 kB / 1.091 GB, free: 18.67 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.01273, allocations: 0 / 1.091 GB, free: 18.67 MB / 1.01 GB Notification: Performance of Templates: time 0.006229/0.01896, allocations: 2.397 MB / 1.093 GB, free: 18.5 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.ref.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: 10.088294303976]