Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.001086/0.001086, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002705, 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.001077/0.001077, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001617/0.002694, 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.9898/0.9898, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08983/1.08, allocations: 53.67 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.402/2.402, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2562/2.658, allocations: 146 MB / 0.8176 GB, free: 3.832 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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.197e-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_m_flow_inv_DerivativeCheck): time 0.001871/0.001893, allocations: 1.488 MB / 0.8204 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.002812, allocations: 0.9809 MB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.002836, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.656e-06/0.002845, allocations: 4 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.002876, allocations: 11.86 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.003274, allocations: 254.8 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.003347, allocations: 47.78 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.003379, allocations: 11.98 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.745e-05/0.003446, allocations: 27.98 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.003495, allocations: 15.92 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.003507, allocations: 4 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.004047, allocations: 0.5148 MB / 0.8223 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.004063, allocations: 7.938 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.004079, allocations: 8 kB / 0.8223 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.004392, allocations: 295.1 kB / 0.8226 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.004405, allocations: 3.984 kB / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004406, allocations: 0 / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.004419, allocations: 4 kB / 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.0004004/0.00482, allocations: 347.6 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.004855, allocations: 8.031 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.004892, allocations: 4.938 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.004977, allocations: 113.7 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004986, allocations: 384 / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.00501, allocations: 12.31 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.229e-05/0.005092, allocations: 67.88 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005099, allocations: 192 / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.005106, allocations: 4.125 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.005113, allocations: 4 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.005133, allocations: 8 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.461e-05/0.005218, allocations: 69.05 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.005354, allocations: 34.59 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.005373, allocations: 16.94 kB / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005386, allocations: 0 / 0.8232 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.005409, allocations: 38.5 kB / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.32e-07/0.005409, allocations: 4 kB / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004998/0.005909, allocations: 241.4 kB / 0.8235 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.005932, allocations: 55.34 kB / 0.8235 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.006, allocations: 134.6 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.006009, allocations: 25.7 kB / 0.8237 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.006223, allocations: 88.12 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.006246, allocations: 19.8 kB / 0.8238 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.006278, allocations: 29.69 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.006345, allocations: 318.8 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.006364, allocations: 12 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.006383, allocations: 18.67 kB / 0.8242 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/0.006432, allocations: 56.7 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.006433, allocations: 0 / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.112e-05/0.006514, allocations: 77.61 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.006526, allocations: 8 kB / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.006537, allocations: 0 / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.006549, allocations: 0 / 0.8243 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.676e-05/0.006596, allocations: 15.98 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006599, allocations: 3.938 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.006612, allocations: 0 / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.006617, 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.219e-05/0.006669, allocations: 113.8 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.006676, allocations: 8 kB / 0.8244 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.459e-05/0.006771, allocations: 66.11 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006772, allocations: 0 / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.006776, allocations: 12 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006779, allocations: 0 / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.006954, allocations: 211.6 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.006956, allocations: 3.984 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.007003, allocations: 12 kB / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.007018, allocations: 7.953 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.00702, allocations: 0 / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.007027, allocations: 15.95 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007029, allocations: 0 / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.00703, allocations: 0 / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.007139, allocations: 168.5 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.007148, allocations: 0 / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.007187, allocations: 7.938 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.007198, allocations: 0 / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.007201, allocations: 0 / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.622e-05/0.007217, allocations: 23.09 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007218, allocations: 0 / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001897/0.007407, allocations: 79.67 kB / 0.825 GB, free: 11.98 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.0002171/0.007624, allocations: 172 kB / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.007732, allocations: 82.45 kB / 0.8253 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.007736, allocations: 3.938 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/0.007759, allocations: 24.84 kB / 0.8253 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.007922, allocations: 37.72 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.008609, allocations: 192 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.928e-05/0.008638, allocations: 55.36 kB / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.922e-05/0.008667, allocations: 11.98 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.00872, allocations: 55.38 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of SimCode: time 5.72e-07/0.00872, allocations: 4 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of Templates: time 0.003319/0.01204, allocations: 2.049 MB / 0.8276 GB, free: 9.281 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.152367304079235]