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.0007795/0.0007795, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001852, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001103/0.001103, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002512, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9322/0.9322, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.025, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] 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 2.302/2.302, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2239/2.526, allocations: 146 MB / 0.8176 GB, free: 3.836 MB / 0.7917 GB " [Timeout remaining time 177] 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.663e-06/1.663e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.15e-05/1.316e-05, allocations: 2.312 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.001607/0.001621, allocations: 1.478 MB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.002583, allocations: 0.9848 MB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.791e-05/0.002621, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.338e-06/0.00263, allocations: 3.938 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.712e-05/0.002657, allocations: 15.86 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.003137, allocations: 266.8 kB / 0.8217 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.423e-05/0.003212, allocations: 39.8 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.003245, allocations: 7.984 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.048e-05/0.003315, allocations: 39.89 kB / 0.8218 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.003397, allocations: 15.92 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.003412, allocations: 4 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.003979, allocations: 0.507 MB / 0.8223 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.003996, allocations: 8 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.004014, allocations: 11.94 kB / 0.8223 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.004321, allocations: 295.2 kB / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.201e-05/0.004333, allocations: 3.984 kB / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004334, allocations: 0 / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.004348, allocations: 0 / 0.8226 GB, free: 14.75 MB / 0.8073 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.0004015/0.00475, allocations: 343.6 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.00478, allocations: 8.031 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.004815, allocations: 8.938 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.004913, allocations: 123.8 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004924, allocations: 4.375 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.004949, allocations: 4.375 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.663e-05/0.005036, allocations: 67.94 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005045, allocations: 4.125 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.005053, allocations: 4.125 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.005059, allocations: 4 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.005081, allocations: 7.938 kB / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.602e-05/0.005167, allocations: 65.05 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.005317, allocations: 30.61 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.005339, allocations: 16.95 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.005356, allocations: 7.984 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005376, allocations: 30.56 kB / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005377, allocations: 4 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004969/0.005874, allocations: 241 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.0059, allocations: 55.34 kB / 0.8236 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.005967, allocations: 126.6 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.005979, allocations: 29.69 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.006007, allocations: 88.12 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.00603, allocations: 23.8 kB / 0.8238 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.006063, allocations: 33.69 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.006143, allocations: 318.8 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.006161, allocations: 12 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.006178, allocations: 14.39 kB / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.999e-05/0.006228, allocations: 48.77 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.006229, allocations: 3.938 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.871e-05/0.006308, allocations: 73.67 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.006319, allocations: 8 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.006331, allocations: 0 / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.006343, allocations: 0 / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.181e-05/0.006385, allocations: 16 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.006389, allocations: 3.938 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.006405, allocations: 7.984 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.006413, allocations: 4 kB / 0.8243 GB, free: 12.76 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 5.694e-05/0.00647, allocations: 109.8 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.006478, allocations: 4.328 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.00657, allocations: 66.05 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006572, allocations: 8.109 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006576, allocations: 7.938 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006579, allocations: 0 / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.006762, allocations: 223.6 kB / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006763, allocations: 0 / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.006806, allocations: 15.98 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.00682, allocations: 7.953 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006822, allocations: 0 / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.006832, allocations: 11.94 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.006835, allocations: 3.984 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.006836, allocations: 0 / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.006944, allocations: 156.5 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006955, allocations: 3.984 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.006991, allocations: 8 kB / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.007003, allocations: 4 kB / 0.8249 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.007008, allocations: 4 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.718e-05/0.007026, allocations: 25.83 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007026, allocations: 0 / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001931/0.007219, allocations: 75.67 kB / 0.825 GB, free: 11.97 MB / 0.8073 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.0002015/0.00742, allocations: 176 kB / 0.8252 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.007528, allocations: 81.42 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.007532, allocations: 0 / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.476e-05/0.007557, allocations: 24.8 kB / 0.8253 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.007722, allocations: 41.69 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.008538, allocations: 166 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.008574, allocations: 67.28 kB / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.676e-05/0.0086, allocations: 4.094 kB / 0.8256 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.008651, allocations: 67.36 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.008652, allocations: 0 / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.003325/0.01198, allocations: 2.057 MB / 0.8276 GB, free: 9.273 MB / 0.8073 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.002815278246999]