Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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.002415/0.002415, 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.002904/0.002904, allocations: 165.9 kB / 22.45 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.656/1.656, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.793/3.793, allocations: 440.4 MB / 0.6832 GB, free: 12.64 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.083 GB, free: 24.08 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.051e-05, allocations: 4.391 kB / 1.083 GB, free: 24.08 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.002151/0.002181, allocations: 1.407 MB / 1.084 GB, free: 23.1 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003506, allocations: 0.9205 MB / 1.085 GB, free: 22.5 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.003558, allocations: 0 / 1.085 GB, free: 22.5 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.003583, allocations: 11.41 kB / 1.085 GB, free: 22.49 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.003637, allocations: 6.531 kB / 1.085 GB, free: 22.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.004367, allocations: 276.4 kB / 1.086 GB, free: 22.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 9.604e-05/0.004464, allocations: 57.33 kB / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.148e-05/0.004515, allocations: 0 / 1.086 GB, free: 22.33 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.004588, allocations: 27 kB / 1.086 GB, free: 22.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.004647, allocations: 15.33 kB / 1.086 GB, free: 22.32 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004663, allocations: 2.688 kB / 1.086 GB, free: 22.32 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.005288, allocations: 495.1 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.005307, allocations: 13.89 kB / 1.086 GB, free: 22.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.005338, allocations: 15.81 kB / 1.086 GB, free: 22.21 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.005768, allocations: 337.2 kB / 1.087 GB, free: 22.12 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005771, allocations: 3.938 kB / 1.087 GB, free: 22.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.293e-06/0.005773, allocations: 0 / 1.087 GB, free: 22.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005778, allocations: 4 kB / 1.087 GB, free: 22.11 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000486/0.006264, allocations: 352.8 kB / 1.087 GB, free: 21.78 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.006305, allocations: 8.469 kB / 1.087 GB, free: 21.78 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.006351, allocations: 7.516 kB / 1.087 GB, free: 21.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.00643, allocations: 111.3 kB / 1.087 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.006445, allocations: 384 / 1.087 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.006467, allocations: 10.36 kB / 1.087 GB, free: 21.64 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.006589, allocations: 66.94 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.006597, allocations: 192 / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.006609, allocations: 8.109 kB / 1.087 GB, free: 21.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.006615, allocations: 4 kB / 1.087 GB, free: 21.56 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.976e-05/0.006664, allocations: 15.69 kB / 1.087 GB, free: 21.55 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.0068, allocations: 128.5 kB / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.007015, allocations: 39.58 kB / 1.087 GB, free: 21.39 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.00705, allocations: 20.28 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.007074, allocations: 2.625 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.007088, allocations: 30.56 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.007089, allocations: 2.312 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.0006297/0.007719, allocations: 264.3 kB / 1.088 GB, free: 21.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.007747, allocations: 55.41 kB / 1.088 GB, free: 21.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.007835, allocations: 133.3 kB / 1.088 GB, free: 20.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.007845, allocations: 29.7 kB / 1.088 GB, free: 20.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.007871, allocations: 89.78 kB / 1.088 GB, free: 20.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.007892, allocations: 19.23 kB / 1.088 GB, free: 20.82 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.007934, allocations: 30.88 kB / 1.088 GB, free: 20.8 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.007981, allocations: 316.6 kB / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.00803, allocations: 35.47 kB / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.008074, allocations: 29.89 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.008167, allocations: 81.86 kB / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008169, allocations: 3.188 kB / 1.088 GB, free: 20.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001424/0.008311, allocations: 123.1 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.008323, allocations: 5.344 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.008334, allocations: 3 kB / 1.088 GB, free: 20.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.00835, allocations: 3.938 kB / 1.088 GB, free: 20.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.008398, allocations: 13.69 kB / 1.088 GB, free: 20.33 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.008405, allocations: 2.281 kB / 1.088 GB, free: 20.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.008428, allocations: 4 kB / 1.088 GB, free: 20.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.008436, allocations: 2.5 kB / 1.088 GB, free: 20.33 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 (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 5.263e-05/0.008489, allocations: 108.5 kB / 1.089 GB, free: 20.21 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.008502, allocations: 6.766 kB / 1.089 GB, free: 20.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.00865, allocations: 101.2 kB / 1.089 GB, free: 20.15 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.008652, allocations: 3.938 kB / 1.089 GB, free: 20.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.008655, allocations: 0 / 1.089 GB, free: 20.14 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.008659, allocations: 0 / 1.089 GB, free: 20.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.008917, allocations: 275.9 kB / 1.089 GB, free: 19.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008918, allocations: 0 / 1.089 GB, free: 19.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.008979, allocations: 10.72 kB / 1.089 GB, free: 19.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008981, allocations: 6.531 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.00899, allocations: 6.562 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.008992, allocations: 7.172 kB / 1.089 GB, free: 19.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008993, allocations: 4.031 kB / 1.089 GB, free: 19.87 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.009159, allocations: 187.1 kB / 1.089 GB, free: 19.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.512e-05/0.009184, allocations: 20.73 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.009201, allocations: 7.703 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.009271, allocations: 2.75 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.009289, allocations: 2.719 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.009295, allocations: 2.688 kB / 1.089 GB, free: 19.7 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.328e-05/0.009328, allocations: 94.44 kB / 1.089 GB, free: 19.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.009328, allocations: 0 / 1.089 GB, free: 19.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002946/0.009623, allocations: 67.47 kB / 1.089 GB, free: 19.6 MB / 1.01 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.0002657/0.009888, allocations: 171.3 kB / 1.09 GB, free: 19.48 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.01004, allocations: 91.81 kB / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01004, allocations: 0 / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.01008, allocations: 20.69 kB / 1.09 GB, free: 19.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.01034, allocations: 11.19 kB / 1.09 GB, free: 19.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.01072, allocations: 204.7 kB / 1.09 GB, free: 19.25 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01076, allocations: 76 kB / 1.09 GB, free: 19.17 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.01079, allocations: 6.406 kB / 1.09 GB, free: 19.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.01082, allocations: 14.44 kB / 1.09 GB, free: 19.16 MB / 1.01 GB Notification: Performance of SimCode: time 3.8e-07/0.01082, allocations: 0 / 1.09 GB, free: 19.16 MB / 1.01 GB Notification: Performance of Templates: time 0.004735/0.01556, allocations: 1.83 MB / 1.092 GB, free: 19.03 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.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.169219452887774]