Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001712/0.001712, 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.001917/0.001917, allocations: 177.2 kB / 22.77 MB, free: 1.66 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.402/3.402, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8775 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.514e-05, allocations: 2.312 kB / 0.8775 GB, free: 5.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002813/0.002848, allocations: 1.374 MB / 0.8788 GB, free: 4.121 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.004504, allocations: 0.9249 MB / 0.8797 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.004537, allocations: 0.5312 kB / 0.8797 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.004559, allocations: 5 kB / 0.8797 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.004627, allocations: 11.92 kB / 0.8797 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.005365, allocations: 226.3 kB / 0.88 GB, free: 2.969 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.00547, allocations: 39.8 kB / 0.88 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.005509, allocations: 0 / 0.88 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.841e-05/0.005598, allocations: 32.55 kB / 0.88 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.356e-05/0.005661, allocations: 15.98 kB / 0.88 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.005679, allocations: 6.281 kB / 0.88 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000691/0.00637, allocations: 367.5 kB / 0.8804 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.00639, allocations: 7.984 kB / 0.8804 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.006426, allocations: 19.92 kB / 0.8804 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.006952, allocations: 303 kB / 0.8807 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006956, allocations: 0 / 0.8807 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006957, allocations: 7.25 kB / 0.8807 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.006962, allocations: 0 / 0.8807 GB, free: 2.191 MB / 0.7917 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.0008885/0.007851, allocations: 443.3 kB / 0.8811 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.007889, allocations: 8.031 kB / 0.8811 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.0082, allocations: 20.86 kB / 0.8812 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.008351, allocations: 124.5 kB / 0.8813 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.00837, allocations: 4.375 kB / 0.8813 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.008392, allocations: 384 / 0.8813 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.008593, allocations: 80.81 kB / 0.8814 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.008602, allocations: 192 / 0.8814 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.008615, allocations: 1.406 kB / 0.8814 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.008622, allocations: 4.375 kB / 0.8814 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.00876, allocations: 23.92 kB / 0.8814 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.00901, allocations: 133.8 kB / 0.8815 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.009341, allocations: 63.03 kB / 0.8816 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.306e-05/0.009414, allocations: 28.75 kB / 0.8816 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.009429, allocations: 3.938 kB / 0.8816 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.009465, allocations: 42.28 kB / 0.8817 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.009468, allocations: 3.984 kB / 0.8817 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.001921/0.01139, allocations: 388.8 kB / 0.882 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.01144, allocations: 59.34 kB / 0.8821 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.01159, allocations: 188.5 kB / 0.8823 GB, free: 420 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.01162, allocations: 25.7 kB / 0.8823 GB, free: 388 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.0117, allocations: 134.8 kB / 0.8824 GB, free: 248 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.01173, allocations: 24.38 kB / 0.8824 GB, free: 224 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-05/0.01181, allocations: 36.55 kB / 0.8825 GB, free: 180 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002903/0.0121, allocations: 0.4923 MB / 0.883 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.01223, allocations: 43.98 kB / 0.883 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.01235, allocations: 57.44 kB / 0.8831 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.0126, allocations: 95.67 kB / 0.8831 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.0126, allocations: 0 / 0.8831 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003489/0.01295, allocations: 146.8 kB / 0.8833 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01296, allocations: 4 kB / 0.8833 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.01298, allocations: 4 kB / 0.8833 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.013, allocations: 4.578 kB / 0.8833 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.01313, allocations: 19.98 kB / 0.8833 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.01313, allocations: 7.875 kB / 0.8833 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.01321, allocations: 0 / 0.8833 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01322, allocations: 4 kB / 0.8833 GB, free: 15.29 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 (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.0001298/0.01335, allocations: 164.5 kB / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.01338, allocations: 7.953 kB / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.01342, allocations: 12.42 kB / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.01342, allocations: 0 / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.01343, allocations: 3.938 kB / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01343, allocations: 0 / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007509/0.01418, allocations: 373 kB / 0.8839 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01418, allocations: 0 / 0.8839 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.01432, allocations: 15.98 kB / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.01432, allocations: 4 kB / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01434, allocations: 3.938 kB / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01434, allocations: 0 / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01434, allocations: 3.938 kB / 0.8839 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.01486, allocations: 295.6 kB / 0.8842 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.01489, allocations: 16 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01492, allocations: 7.938 kB / 0.8842 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.01504, allocations: 7.984 kB / 0.8842 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.01507, allocations: 0 / 0.8842 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01508, allocations: 7.984 kB / 0.8842 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.1e-05/0.01517, allocations: 131.2 kB / 0.8843 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01517, allocations: 0 / 0.8843 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002625/0.01543, allocations: 31.98 kB / 0.8844 GB, free: 14.14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002079/0.01564, allocations: 111.2 kB / 0.8845 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.01601, allocations: 139.9 kB / 0.8846 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01602, allocations: 0 / 0.8846 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.01614, allocations: 39.67 kB / 0.8846 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01641, allocations: 11.98 kB / 0.8847 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.01717, allocations: 242.4 kB / 0.8849 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.169e-05/0.01725, allocations: 75.23 kB / 0.885 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.015e-05/0.01731, allocations: 8 kB / 0.885 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.01737, allocations: 16.48 kB / 0.885 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.01737, allocations: 0 / 0.885 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.005526/0.0229, allocations: 1.8 MB / 0.8867 GB, free: 11.67 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.508164459955879]